Skip to content Skip to sidebar Skip to footer

Mysql Error From Macports: Missing Mysqld.sock

I ran the following in the terminal: sudo port install py26-mysql sudo port install mysql5-server It seems to have downloaded and installed properly, but when I try to open mysql

Solution 1:

Did you activate the MySQL server? See the instructions under Step 3: Install MySQL.

Solution 2:

You have to add to /opt/local/etc/mysql57/my.cnf the following configuration:

[client]socket=/opt/local/var/run/mysql57/mysqld.sock

[mysqld]socket=/opt/local/var/run/mysql57/mysqld.sock

Post a Comment for "Mysql Error From Macports: Missing Mysqld.sock"