Can't connect to local MySQL server through socket '/tmp/mysql.sock'
hey guys, I hope someone can help me here, so I've installed a new server in my new dedicated server
everything works just fine except sourceban I'm using version 1.6.3 with theme star, I'm using centos 7.2 php7.2 (web) Description: when I try to set admin, the web gives me success message but when I check in logs I see that error: Sourceban error: PHP Code:
PHP Code:
I tried to log in to MySQL throw terminal and I succeed to log in... what I tried to do to fix that: change soket (socket=/var/lib/mysql/mysql.sock) open port for mysql (3306) restart service |
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Try changing the host in your databases.cfg file to use the IP address instead.
You're most likely using the hostname (e.g. "localhost") in the cfg, in that case, change to the IP version of "127.0.0.1" instead. |
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Quote:
the MYSQL server is from another host.. |
Re: Can't connect to local MySQL server through socket '/tmp/mysql.sock'
Quote:
Quote:
Then configure your game server / systems properly to run through that that non-local "another host" server, ... |
All times are GMT -4. The time now is 12:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.