Bug #9209 | 4.1 won't start with 5.0 privilege tables | ||
---|---|---|---|
Submitted: | 15 Mar 2005 22:09 | Modified: | 16 Mar 2005 0:02 |
Reporter: | Konstantin Osipov (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1 | OS: | |
Assigned to: | CPU Architecture: | Any |
[15 Mar 2005 22:09]
Konstantin Osipov
[16 Mar 2005 0:02]
Michael Widenius
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: MySQL 5.0 privilege tables uses the new VARCHAR field type that is not supported in 4.1, this is expected. Fix to get data back in 4.1: - Rename the mysql directory as 'mysql5' - Execute the mysql_install_db script in 4.1 to recreate new privilege tables - Start MySQL 5.0 - Copy data from the mysql5.user to mysql.user - Repeat for the other tables that you are interested in - Stop MySQL 5.0 - Start MySQL 4.1 (Yes, we should probably give a better error message for this particular case)