Women in Technology

Hear us Roar



Article:
  Apache Web-Serving With Mac OS X, Part 5
Subject:   Resolution?
Date:   2002-05-22 16:32:58
From:   sanjuanio1
Response to: update

I am having the same problem. Did you find out how to resolve?


I have the following error messages:


Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) in /Library/WebServer/Documents/test.php on line 6


Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
in /Library/WebServer/Documents/test.php on line 6


Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) in /Library/WebServer/Documents/test.php on line 10


Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61)
in /Library/WebServer/Documents/test.php on line 10


Warning: MySQL: A link to the server could not be established in /Library/WebServer/Documents/test.php on line 10


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


My Sequel database session keeps ending when I check it using the chown line. I also downloaded the doubleclick startup.


Any ideas?

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Closer
    2002-05-22 18:09:10  sanjuanio1 [View]

    I havent found the answer quite yet, but getting closer. see these links off of the mysql site if you have this problem.

    http://www.mysql.com/doc/C/a/Can_not_connect_to_server.html

    http://www.mysql.com/doc/S/t/Starting_server.html

    and let me know if it helps.

    danke
    • Closer
      2003-03-10 11:33:50  anonymous2 [View]

      Take a look at my.cnf
      I assume your machine is running as socket connection allowed only.
      Find the line where it says "skip-networking" and comment it out, then restart the mysqld and it should work...