Raised This Month: $ Target: $400
 0% 

[CSS] Sourcebans mysql database error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
King_kittan
Junior Member
Join Date: Dec 2014
Old 01-21-2015 , 14:54   [CSS] Sourcebans mysql database error
Reply With Quote #1

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?

Last edited by King_kittan; 01-21-2015 at 15:02.
King_kittan is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode