database error
i'm running a Garry's Mod server with this lua version of sourcebans
that works just fine but on the tf2 server i run with the official sourcebans plugin running on the same server with the same configs on the same database i get this error L 12/16/2012 - 10:09:50: [sourcebans.smx] Database failure: Could not find driver "mysql". See FAQ: http://www.sourcebans.net/node/20 my databases.cfg (tf2) Code:
"Databases" Code:
sourcebans.SetConfig("hostname", "localhost"); -- Database Hostname gmod is on 27015 and tf2 is on 27016 + am i missing some mysql plugin or something? if it matters i haven't installed anything besides ff2, sourcemod, sourcebans and metamod on the tf2 server also the gmod server is running mysqloo edit: doing a sourcemod reinstall fixed that last error i had but now my current error is because when i had setup sourcebans i had entered "sb_" as the prefix rather than sb so now it is "sb__" and sourcebans doesn't seem to like that is there anyway i can edit the prefixes to be sb_ without dropping the whole db or getting sourcebans to recognize there is two underscores? |
Re: database error
Try 127.0.0.1 vs locahost in your databases.cfg, It might be that lua uses DNS to resolve the address then creates a connection to the server.(sourcemod can do such a thing but by default try to use the localhost socket)
|
Re: database error
Quote:
|
Re: database error
Do you have the MySQL client installed on the server?
Code:
apt-get install mysql-client |
Re: database error
Quote:
its strange i have no clue whats causing it |
Re: database error
Quote:
As for the error if you have the MySQL client and server installed then the drivers should be there. But if it was a permission problem it would be a different error message. What OS are you using IE Debian linux,CentOS ect.... |
Re: database error
Quote:
i'm using Debian 6 64Bit |
All times are GMT -4. The time now is 18:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.