Sign In/My Account | View Cart  

advertisement

AddThis Social Bookmark Button

Article:
  Web Apps with Tiger: Security and MySQL
Subject:   Can't connect to local MySQL server through socket
Date:   2005-11-25 05:05:17
From:   anne001
Response to: Can't connect to local MySQL server through socket

http://docs.info.apple.com/article.html?artnum=301457
solution 1 did not work for me.
solution 2 did not work for me, even with
sudo apachectl restart to get the changes in php.ini to take.
and there is no /var/mysql folder.
Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • Kevin Hemenway photo Can't connect to local MySQL server through socket
    2005-11-25 05:11:16  Kevin Hemenway | O'Reilly AuthorO'Reilly Blogger [View]

    Are you sure the MySQL server is actually started? Check the MySQL System Preference that was installed - if the server isn't started, then you'll receive this error message.
    • Can't connect to local MySQL server through socket
      2005-11-26 08:33:35  anne001 [View]

      This is strange. This morning it works. Turning off the computer and rebooting fixed something!
      • Kevin Hemenway photo Can't connect to local MySQL server through socket
        2005-11-26 13:25:39  Kevin Hemenway | O'Reilly AuthorO'Reilly Blogger [View]

        Yes, since you probably installed the MySQL Startup item, per my instructions, when you rebooted your machine, MySQL started up with everything else. The error before was because MySQL was not actually started per the System Preference.