Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi,

Get this error message at installation;

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

What does it mean? Is it a problem with my My SQL data or something else?

Any advice/info much appreciated.
Hi,

This problem has been reported before on Godaddy servers.
Is that your hosting provider? If so, you can try the following fix -

You'll need to place your MySQL database's IP address instead of the 'localhost' in config.php.
Code:
Code: Select all
// MySQL hostname (it will usually be 'localhost' )
define( 'K_DB_HOST', 'localhost' );

You can find a discussion of this issue with godaddy here -
http://forums.sixapart.com/index.php?showtopic=39021

If this does not help, please contact your host and they should be able to help you with this problem.

Thanks
Hi I have just had this issue. And I thought I would let you know what I did to remedy it for future reference.

My site is on a shared hosting package with 123 Reg and the solution to the problem can be found tucked away at the back of their help pages: http://www.123-reg.co.uk/support/answer ... names-776/

Basically in your config.php file you have to replace 'localhost' with one of the options on this page.

I went with 'cust-mysql-123-03' because when I used the 123 Reg control panel to login in to my database with PHPmyAdmin I saw this written at the top of the page.

Hope this helps someone.
3 posts Page 1 of 1