Raised This Month: $ Target: $400
 0% 

SM DB connect fail? (for perkmod2 plugin...)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xioSlayer
Senior Member
Join Date: Apr 2011
Old 12-21-2011 , 17:56   SM DB connect fail? (for perkmod2 plugin...)
Reply With Quote #1

SOLVED: I searched google for the error, but i forgot to limit it to alliedmods

This post fixed it for me:

Quote:
Originally Posted by Ard Choille View Post
Your host running ubuntu linux?
missing file '/tmp/mysql.sock' is a common 'bug' in ubuntu

If so
sudo ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock

I'm trying to install the MySQL version of perkmod2 on my Ubuntu L4D2 server.

I have created a database called 'sourcemod' via webmin, and have given the l4d2 user full permissions on it.

This error comes up... What have I done incorrectly?

Code:
[perkmod2.smx] Failed to connect to database: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I googled the error and it seemed that it was a my.cnf config issue, where you have something set incorrectly. Mine did not look like theirs but I have not edited the sock path...

Last edited by xioSlayer; 12-21-2011 at 19:16.
xioSlayer 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:30.


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