[thelist] PHP/MySQL host setting

Sam Hunting sam_hunting2004 at yahoo.com
Mon Oct 30 20:58:34 CST 2006



"Brooking, John" <John.Brooking at sappi.com> wrote:
   By the way, the errors I get are either "Can't connect to local MySQL
server through socket
> '/var/lib/mysql/mysql.sock' (2)" (using 'localhost') or "Lost
connection to MySQL server during query" (using the others). 
What OS is the ISP using? These days, Mac OS X is sometimes used. On my own installation, the MySQL install didn't put mysql.sock where the application that wanted to talk to MySQL expected to find it, leading to errors like yours.

(IOW, the clue in the error message would be not "localhost" but "socket").

I agree with the other responders that for the ISP to charge you $85 to find out what they should already know seems excessive.



 
---------------------------------
Low, Low, Low Rates! Check out Yahoo! Messenger's cheap  PC-to-Phone call rates.


More information about the thelist mailing list