Problems with MySQL

Discussion in 'macOS' started by papabill, Dec 11, 2010.

  1. papabill macrumors member

    Nov 24, 2010
    I'm not sure which one it is, but I've been trying to set up a PHP Forum on my Mac, and when it comes to setup, I get an error:
    Could not connect to the database, see error message below.
    Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)
    The database IS created and writeable.

    Here are the details of my setup:
    Computer: Macintosh G4 AGP Minitower
    Processor: 400Mhz PowerPC G4
    RAM: 1Gb SDRAM
    OS: OS X 10.4.11
    HD: ST320011A Quantum Fireball SE6.4A

    MySQL: 5.0.87
    UNIX socket: /tmp/mysql.sock
    SMF version: 1.1.12

    (Don't know what else to put for information)

    I've tried two different forums (SMF and phpBB), but they BOTH look for /var/mysql/mysql.sock. And as you see, my UNIX socket is /tmp/mysql.sock

    Now, who can help with my problem? Anything would be GREATLY appreciated.

  2. angelwatt Moderator emeritus


    Aug 16, 2005
    This error comes up a bit. From memory, a common solution was to create a symbolic link between those locations.

Share This Page