SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    382
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    mysql.sock missing

    Hi there,

    Last night I turned my Mac on after it had run the battery down, and it informed me that my clock was set to a time before 2008. Which was a bit odd, but I just ignored it and carried on with what I was doing.

    Today, I try to connect to MySQL, and I get the error message: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

    I've had a look on line and I've checked out a few different places where the .sock file might be (/var/tmp/mysql.sock, /tmp/mysql.sock/, /var/mysql/mysql.sock...) and not only can I not find the .sock file, I can't even find the mysql folder! Obviously something's been corrupted when the lappy ran out of juice.

    What should I do?

    Cheers,
    Mike

  2. #2
    SitePoint Addict
    Join Date
    Oct 2009
    Location
    London, UK
    Posts
    382
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    [SOLVED]

    Ok so I think whatever happened to my Mac caused it to stop the MySQL server (which normally starts on start-up). I just had to start it form the System Preferences.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •