Thank you for the quick response! Cubecart is the shopping cart capability that I'm using on my website; it runs with PHP and MySQL. Godaddy is my hosting service.
I cannot see the /var/lib/mysql/mysql.sock anywhere so I can't answer your next two questions. Since I'm using godaddy as my hosting service, I'm doing everything thru their online interface so I'm unsure of how to find the IP address of the MySQL server.
There is a PHPMyAdmin tool that I can use to manage the content, as well as MySQL online interface.
Again, this is all very new to me so it's challenging to speak technically about it. I appreciate your help and patience.





by: gunnyPosted on 2009-04-27 at 10:32:54ID: 24243854
Hi ducky801,
no idea about what cubecart or Godaddy.com is, but....
1) can you "see" /var/lib/mysql/mysql.sock ?
2) what are the rights there?
3) have you tried accessing mysql through TCP sockets instead of local unix sockets?
About the last question: you will need to find the place you are calling "mysql_connect". It should be enough to put the IP-address of your mysql server into the configuration file, where you configured your username + password. When using an IP address the mysql-client build into PHP won't try to use the unix socket.
Cheers
Gunny