teddysun / lamp

Install LAMP (Linux + Apache + MySQL/MariaDB + PHP) for AlmaLinux/RockyLinux/CentOS/Debian/Ubuntu

Home Page:https://lamp.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cannot restore database after upgrade mysql 8.0.27 to 8.0.28

junglon opened this issue · comments

I cannot access some of my database after upgrade. Instruction said i have to restore manually.
Is there any guide for this?

roll back to older version using this step :

  • stop mysql : /etc/init.d/mysqld stop
  • rename or delete /usr/local/mysql
  • rename old version mysql : mv /usr/local/mysql.bak /usr/local/mysql
  • start mysql : /etc/init.d/mysqld start