View Single Post
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 03-28-2010 , 17:54   Re: [Any] Classy Crash Logger
Reply With Quote #11

Quote:
Originally Posted by snelvuur View Post
L 01/29/2010 - 17:513: [crashlogger.smx] Can't select database
L 01/29/2010 - 17:513: [SM] Native "SQL_FastQuery" reported: Invalid database Handle 0 (error: 4)
L 01/29/2010 - 17:513: [SM] Displaying call stack trace for plugin "crashlogger.smx":
L 01/29/2010 - 17:513: [SM] [0] Line 63, /home/groups/alliedmodders/forums/files/4/9/8/6/5/57029.attach::createdbtables()
L 01/29/2010 - 17:513: [SM] [1] Line 19, /home/groups/alliedmodders/forums/files/4/9/8/6/5/57029.attach::OnPluginStart()

I checked, but this datasource is working (in databases.cfg) i have a whole list of database entry's in there which do work.

Tried to create it manually (sql) based on the source code but still gave same error.
Have you checked your databases.cfg file to make sure there arent any errant closing braces "}" anywhere?
Are you sure the game server can communicate with the mysql server?

If the plugin can't connect to the mysql server it's most likely because of one or more of these reasons:
  • Incorrect server address (IP etc)
  • Incorrect database name
  • Incorrect database user (name)
  • Incorrect database user password
  • Gameserver IP isn't allowed access to database
Keep in mind that the gameserver's IP that shows in steam isn't always the IP that is used to connect to the mysql server.

Hope that helps.
__________________
DarthNinja is offline