MySQL Plugin "mysql_old_password" not loaded
1
vote
1
answer
1033
views
In an attempt to fix another issue I had, I ran the commands below (as per https://dev.mysql.com/doc/refman/5.6/en/old-client.html)
mysql> UPDATE mysql.user SET plugin = 'mysql_old_password'
mysql> WHERE User = 'root' AND Host = 'localhost';
mysql> FLUSH PRIVILEGES;
mysql> SET PASSWORD FOR
-> 'root'@'localhost' = OLD_PASSWORD('new_password');
And now I'm unable to even get access to mysql through mysql -u root
because it gives me the error ERROR 1524 (HY000): Plugin 'mysql_old_password' is not loaded
. I can't run mysqladmin
and sudo mysqld_safe --skip-grant-tables
gives me the error
51759
my-username@Macbook-Pro ~ %
+ suspended (tty output) sudo mysqld_safe --skip-grant-tables
When I tried to run mysqld --old-password=1
I got a whole lot of 2022-08-17T11:10:18.149573Z 1 [ERROR] [MY-012574] [InnoDB] Unable to lock ./ibdata1 error: 35
I have tried uninstalling and reinstalling using homebrew for macOS, when that didn't work I also tried manually installing mysql from the website but that didn't work either.
(I use mysql version 8.0.30 for macOS 12.4)
Asked by The Royal Guardian
(31 rep)
Aug 17, 2022, 01:32 PM
Last activity: May 28, 2024, 09:44 AM
Last activity: May 28, 2024, 09:44 AM