Stuck after Mysql upgrade from 5.1 to 5.7
Hello
I upgraded mysql server to version 5.7 Code:
yum localinstall https://dev.mysql.com/get/mysql57-community-release-el6-10.noarch.rpm Code:
vi /etc/my.cnf Code:
mysql -u root -p Code:
mysql_upgrade The following also fails : Code:
mysql_secure_installation |
Did you check to see if you can upgrade from 5.1 to 5.7? That is a big jump and major changes...
http://mysqlserverteam.com/upgrading...ith-mysqldump/ I am hoping you have backups of the DBs, then revert back to 5.1 and perform upgrade as per documentation... |
Reverting to 5.1 is failing with major errors in /var/log/mysqld.log.
I did not check that document. It seems a huge version jump indeed. By now I am able to log in again with following steps : 1 "skip-grant-tables" in /etc/my.cnf 2 "service mysqld restart" 3 "use mysql; update user set authentication_string=PASSWORD("NewPasswd") where User='root'; flush privileges;" Code:
mysql --version Also PhpMyAdmin gives strange info : Code:
Server version: 5.1.73 - Source distribution |
Quote:
Quote:
Code:
select * from mysql.user; |
Quote:
|
Quote:
If so, may be reinstalling phpmyadmin will resolve its issues. I do not use phpmyadmin, so can't help you much with it |
Quote:
Code:
2019-06-27T17:47:33.263349Z 68465 [Note] Access denied for user 'MyUser'@'localhost' (using password: YES) Code:
Package phpMyAdmin-4.0.10.20-1.el6.noarch already installed and latest version |
All times are GMT -5. The time now is 05:27 PM. |