Re: MySQL server won't start (Apple OS)
Posted by:
Mike Levin
Date: November 04, 2018 05:38AM
ok so after a bit of reading on-line, I tried this:
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> select user(),current_user();
+--------+----------------+
| user() | current_user() |
+--------+----------------+
| root@ | @ |
+--------+----------------+
1 row in set (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON *.* to 'root'@'localhost' IDENTIFIED BY 'xxxxx' WITH GRANT OPTION
-> ;
Query OK, 0 rows affected (0.00 sec)
which looks like there's a root user here after all, and now I'm able to log in! But the MailStewardPro is telling me the database is empty. How do I figure out what happened - could the data still be there and just "disconnected" somehow (the server doesn't see the database or the file or something)? I had a huge (~300 GB) database - what do I do to see if it's still there somewhere and just not being seen?
Subject
Written By
Posted
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
Re: MySQL server won't start (Apple OS)
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.