Re: MySQL server won't start (Apple OS)
Posted by:
Mike Levin
Date: October 30, 2018 07:51PM
Ok:
> sudo /usr/local/mysql/bin/mysqld_safe --skip-grant-tables
181030 21:46:51 mysqld_safe Logging to '/usr/local/mysql/data/Mike's3.local.err'.
181030 21:46:51 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
so then I opened another terminal window, and did:
% sudo /usr/local/mysql/bin/mysql_upgrade
and that seems to have worked:
Looking for 'mysql' as: /usr/local/mysql/bin/mysql
Looking for 'mysqlcheck' as: /usr/local/mysql/bin/mysqlcheck
Running 'mysqlcheck with default connection arguments
Running 'mysqlcheck with default connection arguments
Running 'mysql_fix_privilege_tables'...
OK
but:
% sudo /usr/local/mysql/bin/mysqladmin shutdown
/usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
so I can't shut it down from the 2nd window (and I haven't yet ^C broken it from the window where it's running). What should I do?
Subject
Written By
Posted
Re: MySQL server won't start (Apple OS)
October 30, 2018 07:51PM
November 01, 2018 03:39AM
November 02, 2018 10:57AM
November 03, 2018 04:00AM
November 03, 2018 09:51AM
November 03, 2018 11:07AM
November 03, 2018 12:20PM
November 04, 2018 05:27AM
November 04, 2018 05:29AM
November 04, 2018 05:38AM
November 04, 2018 05:43PM
November 08, 2018 03:59AM
November 08, 2018 08:56AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.