can't start mysql56 after move datadir

Bradley Giesbrecht pixilla at
Fri Feb 13 12:18:10 PST 2015

On Feb 12, 2015, at 5:24 PM, Murray Eisenberg <murrayeisenberg at> wrote:

> I should add that whereas the command "sudo port load mysql56-server" runs without returning any error to the terminal, the next command, beginning "/opt/local/lib/mysql56/bin/mysql" bombs out, returning the error:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/local/var/run/mysql56/mysqld.sock' (61)

Do you have another my.cnf file being read before /opt/local/etc/mysql56/my.cnf:
/opt/local/lib/mysql56/bin/mysqld --help --verbose 2>&1 | grep -A 1 "Default options" | tail -n +2

Bradley Giesbrecht (pixilla)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the macports-users mailing list