Could not connect: Driver "MySQL" not found
Hello, i get this error:
[multi1v1.smx] Could not connect: Driver "MySQL" not found This is my database.cfg: http://pastebin.com/Mt19PUmQ Hope anyone can help me, i have followed the installation guide here: https://github.com/splewis/csgo-mult....0.2/README.md I know the ports and IP work, i use MySQL workbench to fix the tables. I have tryed what this page recommended: http://gaming.stackexchange.com/ques.../172408#172408 addons/sourcemod/extensions: http://gyazo.com/f97bce53de27499253b41f9d4082af06 Hope anyone can help. -spot |
Re: Could not connect: Driver "MySQL" not found
anyone? :D
|
Re: Could not connect: Driver "MySQL" not found
It sounds like the MySQL extension isn't loaded.
We're going to need to see the output of sm exts list from the serve rconsole or rcon sm exts list from the client console. |
Re: Could not connect: Driver "MySQL" not found
A suggestion from another thread was that the driver should be "mysql", not " MySQL" to match the actual driver extension name.
|
Re: Could not connect: Driver "MySQL" not found
Also, if you are running on Linux, try to install lib32z1.
apt-get install lib32z1 |
Re: Could not connect: Driver "MySQL" not found
if u use centos
yum install zlib.i386 |
Re: Could not connect: Driver "MySQL" not found
Quote:
https://gyazo.com/724782683337576f97890e05cc3f72f0 Quote:
Quote:
Quote:
Now i get the error message: [multi1v1.smx] Could not connect: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) Is that becuase i have use localhost? Thanks alot for replyes |
Re: Could not connect: Driver "MySQL" not found
I had this error a while ago, I don't remember exactly how I fixed it but it ended up being a problem with the socket that sourcemod was trying to use. I bet if you google the specific mysql error "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" then you will be able to find more information, because its probably an ubuntu problem not a sourcemod problem.
|
Re: Could not connect: Driver "MySQL" not found
Quote:
Ill get back to you all, thanks alot! |
Re: Could not connect: Driver "MySQL" not found
After reinstalling mysql, i get the same message.
[multi1v1.smx] Could not connect: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) my.cnf don't mention anything about "mysql.sock", but there is: [client] port = 3306 socket = /var/run/mysqld/mysqld.sock [mysqld_safe] socket = /var/run/mysqld/mysqld.sock nice = 0 [mysqld] # # * Basic Settings # user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp lc-messages-dir = /usr/share/mysql skip-external-locking |
All times are GMT -4. The time now is 19:38. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.