I am recieving this error:
L 01/21/2015 - 19:40:46: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
I am trying to connect my CSS server to my database located on my webserver.
I have my server ID's set correctly and my databases.cfg configured correctly as well.
If I run
Code:
sudo find / -type s | grep mysqld.sock
It outputs:
Code:
find: `/proc/28577/task/28577/fd/5': No such file or directory
find: `/proc/28577/task/28577/fdinfo/5': No such file or directory
find: `/proc/28577/fd/5': No such file or directory
find: `/proc/28577/fdinfo/5': No such file or directory
/run/mysqld/mysqld.sock
on my webserver I have port 3306 as I thought maybe that was the issue, with it open, still can't connect.
I tried creating a symlink from /run/mysqld/mysqld.sock to /tmp/mysql.sock & /tmp/mysqld.sock and neither worked.
I also managed to find a /var/run/mysqld/mysqld.sock, and tried to create symlink of that to /tmp/mysql.sock. Didn't work.
I am stumped here, any suggestions?