MySQL 5.5 to 5.7, how to handle backups

ساخت وبلاگ

Ok, so, I need to move servers.... Old server MySQL 5.5, new has 5.7, when I restore backups, I get:

Unable to add user . Column count of mysql.user is wrong. Expected 45, found 42. Created with MySQL 50546, now running 50720. Please use mysql_upgrade to fix this error.Can't add user to : Unable to add user . Column count of mysql.user is wrong. Expected 45, found 42. Created with MySQL 50546, now running 50720. Please use mysql_upgrade to fix this error.

Error Adding Main Username to database: Column count of mysql.user is wrong. Expected 45, found 42. Created with MySQL 50546, now running 50720. Please use mysql_upgrade to fix this error.
Error with query "CREATE USER '<user>'@localhost" : Column count of mysql.user is wrong. Expected 45, found 42. Created with MySQL 50546, now running 50720. Please use mysql_upgrade to fix this error.

Is there anything I can do, other than installing MySQL 5.5?

There's no mysql_upgrade, even if it did, what use would it be? The data isn't importing.

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 335 تاريخ : دوشنبه 18 دی 1396 ساعت: 15:25