can't start mysql56 after move datadir
Bradley Giesbrecht
pixilla at macports.org
Fri Feb 13 13:13:16 PST 2015
On Feb 13, 2015, at 12:38 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
> Since I cannot get mysql server to run, from
>
> /opt/local/lib/mysql56/bin/mysqladmin variables | grep socket
>
> I obtain output:
>
> /opt/local/lib/mysql56/bin/mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket '/opt/local/var/run/mysql56/mysqld.sock' (61)'
> Check that mysqld is running and that the socket: '/opt/local/var/run/mysql56/mysqld.sock' exists!
>
> The same thing happens if I try to execute "sudo port load mysql56-server". Evidently mysql is never starting with my non-default datadir location.
What happens when you start mysqld manually:
sudo /opt/local/lib/mysql56/bin/mysqld --gdb --user=_mysql
Regards,
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: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150213/d32defff/attachment.sig>
More information about the macports-users
mailing list