[thelist] MySQL server through socket

Andrew Maynes andrew at humanbehaviour.co.uk
Sun Sep 1 16:44:01 CDT 2002


thanks Anthony this makes sense and the link was useful (not sure about reading
white on black for a while and then switching back to black on white) just need
to figure out what is not working with what :)

Andrew

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Anthony Baratta
Sent: Sunday, September 01, 2002 10:20
To: thelist at lists.evolt.org
Subject: Re: [thelist] MySQL server through socket


At 12:35 PM 9/1/2002, Andrew Maynes wrote:

>Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

Make sure your connection objects are exactly the same between the two
scripts. This error has to do with how mySQL is setup and running. It
sounds like the non-working script is attemptig to connect to a mySQL setup
that is not functioning correctly.

I also found this:

http://marc.theaimsgroup.com/?l=php-general&r=1&w=2&q=b&s=%22Can%27t+con
nect+to+local+MySQL+server+through+socket%22

 > What I did is made a symlink from /var/run/mysql.sock to /tmp/mysql.sock
 > example: ln -s /var/run/mysql.sock /tmp/mysql.sock
 >
 > Or if /var/run/mysql.sock doesn't exist, find / -name "mysql.sock"
 > Then symlink that to /tmp
---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/02

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/02




More information about the thelist mailing list