Skip navigation links

MySQL Forums :: General :: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11)


Advanced Search

Re: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11)
Posted by: P Junger ()
Date: January 03, 2006 03:00PM

I downloaded Rent a Patch (www.rentapatch.com/ebay) and am trying to
install it onto my godaddy account with MySQL. I keep getting the
following errors when i try to go to: "www.mydomain.com/install.php"
:

--------
Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2) in
/home/content/d/o/l/dollarbush/html/install.php on line 7
Can not connect to SQL serverCan't connect to local MySQL server
through socket '/tmp/mysql.sock' (2)
Warning: mysql_select_db(): Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (2) in
/home/content/d/o/l/dollarbush/html/install.php on line 11

Warning: mysql_select_db(): A link to the server could not be
established in /home/content/d/o/l/dollarbush/html/install.php on line
11

Warning: mysql_query(): Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2) in
/home/content/d/o/l/dollarbush/html/install.php on line 14

Warning: mysql_query(): A link to the server could not be established
in /home/content/d/o/l/dollarbush/html/install.php on line 14
Can not create database.Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2)
--------


I was hoping maybe you could lend some help with this. What am I doing wrong?

Thanks,
Preston

Options: ReplyQuote


Subject Written By Posted
Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11) Marek Slahor 07/31/2005 11:02AM
Re: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11) Marek Slahor 08/01/2005 04:11AM
Re: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11) Slava Divxak 08/01/2005 06:28AM
Re: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11) frank homann 11/30/2005 10:10AM
Re: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11) Marek Slahor 11/30/2005 11:29AM
Re: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11) Marek Slahor 11/30/2005 11:45AM
Re: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11) P Junger 01/03/2006 03:00PM
Re: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (11) John Winslow 01/26/2006 02:05PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.