Announcement

Collapse
No announcement yet.

[SOLVED] MYSQL connect problem new project on mac os x and MAMP

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] MYSQL connect problem new project on mac os x and MAMP

    Hi all,

    I have a fresh install with scriptcase 8

    I have installed MAMP PRO the latest version.
    I have a working database and i can use phpmyadmin: http://localhost:8888/MAMP/index.php...nguage=English
    Socket: /Applications/MAMP/tmp/mysql/mysql.sock
    When i look in that directory i don't see a mysql.sock (but only a my.cnf and a mysql.pid

    When i start a new project and want to connect to mysql i use:
    MySQL DPO
    localhost
    port 8888

    I cannot connect to mysql and get every time the error:
    Connection Error

    Connection attempt failed: SQLSTATE[HY000] [2002] No such file or directory

    What is going wrong and how can i fix this?

  • #2
    Check out http://stackoverflow.com/questions/1...e-or-directory
    Try adressing the localhost as 127.0.0.1 (havent tried this myself).

    Comment


    • #3
      Thx, it worked for me! Never thought of that

      Comment

      Working...
      X