How can I be sure I'm able to connect to my database?

Back to PHP-IRC Support

Page: 1  
From User Message Body
Juice
Post #1026
Member
Date: 9:01 pm, Apr 3 2010
Posts: 40


I've set stuff up and I don't have any error messages, but how can I be sure that i'm able to connect to the db. Obviously running a mod that uses the db should be sufficient to test, but I'm not sure I have the mod set up correctly to do this.

Is there a command that I can use from the irc chat to test the db connection?

If not, does anyone wanna write something up that does this?

Have a Great Day!

Juice
Administrator
http://ww4.GameSoda.net
dracozny
Post #1035
Member
Date: 6:24 pm, Apr 27 2010
Posts: 30


if you use the dcc chat interface the bot will post a 5 min status update to the dcc chat which includes the total number of SQL queries performed

Juice
Post #1045
Member
Date: 8:14 pm, May 24 2010
Posts: 40


are these queries that the bot performs for testing, or just queries that are done through the mods i have install and the bot is just keeping count of them?

Have a Great Day!

Juice
Administrator
http://ww4.GameSoda.net
   

Back to PHP-IRC Support