This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
almighty
Voice
Posts: 30 Joined: Tue Jan 07, 2003 5:34 pm
Contact:
Post
by almighty » Thu Jul 15, 2004 11:20 am
Im getting the following problem and it has happened all of a sudden.
I get:
Code: Select all
Tcl error [allianceorder]: Failed to connect to database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
I also get:
Code: Select all
Tcl error [allianceorder]: Failed to connect to database: Can't connect to local MySQL server through socket '/usr/local/lib/mysql.sock' (2)
I have run 'locate mysql.sock' in shell and it has come back with the following locations.
Code: Select all
root [~]# locate mysql.sock
/var/lib/mysql/mysql.sock
/usr/local/lib/mysql.sock
As you can see it doesnt connect through either mysql.sock file. Any ideas?
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Thu Jul 15, 2004 6:00 pm
maybe tell what mysql lib you are using ?
XplaiN but think of me as stupid
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Sat Jul 24, 2004 4:08 pm
Use a hostname rather than the unix socket, which may not exist.
SmokeyOne
Halfop
Posts: 69 Joined: Tue Jan 14, 2003 6:04 am
Post
by SmokeyOne » Sat Aug 28, 2004 8:49 pm
make sure you set the user access correctly in mysql. like user@localhost. I've had a couple of problems like that before, I did that and it worked just perfect
exs-n0s
Voice
Posts: 9 Joined: Sat Feb 21, 2004 9:00 pm
Post
by exs-n0s » Sat Aug 28, 2004 10:21 pm
maybe the box your trying to connect to has blocked your ip? I dont know, this has happened to me once before.