MySQL Forums
Forum List  »  Newbie

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?

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL server won't start (Apple OS)
October 30, 2018 07:51PM


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.