Page 1 of 1

Error - The mySQL error was: Can't connect to local MySQL se

Posted: Sat Dec 30, 2006 10:43 pm
by BladeRunnRCiva
I am not very good with database setups and wanted to see if someone could help me figure out how to fix this error? I use godaddy as my webhost. Couple easy questions first:
1. Do I need to create the database "before" I try to enter the installation or after I entered the installation?
2. Do I need to edit the db or any config files before entering installation?

Sorry for the N00b questions, just trying to figure this out, LOL.

ERROR:
The mySQL error was: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Figured it out, LOL

Posted: Sat Dec 30, 2006 11:18 pm
by BladeRunnRCiva
Bah, figured it out, lol.

Re: Figured it out, LOL

Posted: Sun Dec 31, 2006 10:45 am
by yellowled
BladeRunnRCiva wrote:Bah, figured it out, lol.
In that case it would be nice if you could still post your solution so other users with similar problems could find it in this forum. Thanks :)

YL

Posted: Wed Jan 24, 2007 9:36 am
by garvinhicking
Hi!

Sadly I can only lead you to the godaddy support - it seems your MySQL server wants to use a socket connection where there is none.

It might help if instead of "localhost" you enter the database server as "127.0.0.1", which will then use a TCP connection instead of a socket one.

Best regards,
Garvin