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

Having trouble installing serendipity?
Post Reply
BladeRunnRCiva
Posts: 2
Joined: Sat Dec 30, 2006 10:41 pm

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

Post 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)
Sincerely,
BladeRunnR Civa
BladeRunnRCiva
Posts: 2
Joined: Sat Dec 30, 2006 10:41 pm

Figured it out, LOL

Post by BladeRunnRCiva »

Bah, figured it out, lol.
Sincerely,
BladeRunnR Civa
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: Figured it out, LOL

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply