[MDEV-6984] Can't migrate from MySQL 5.6.21 to MariaDB 10 Created: 2014-10-30 Updated: 2014-11-21 Resolved: 2014-11-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Platform Windows |
| Affects Version/s: | 10.0.14 |
| Fix Version/s: | 10.0.15 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Andriy | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows 8.1 x64 |
||
| Description |
|
Can't migrate from MySQL 5.6.21 to MariaDB 10.0.14. Wizard (or commad line tool) on Phase 5 throws FATAL ERROR code 1 (and no logs created). |
| Comments |
| Comment by Elena Stepanova [ 2014-10-31 ] | ||||||||||
|
Thanks for the report. The problem itself is generic, but it's most visible on Windows due to the specific upgrade process. Here is how mysql_upgrade_service works (skipping irrelevant details):
It runs the server with skip-grant-tables, so it doesn't need to care about valid username/password, which it has nowhere to take from. It worked fine till recently. But starting from the following revision
things changed. Now mysql_upgrade starts by fixing privilege tables, which ends with FLUSH PRIVILEGES (it used to be run at the end). After that, when next steps are attempted, they can't be executed because privilege checks are back in place, while mysql_upgrade and its children don't use a valid account. | ||||||||||
| Comment by Sergei Golubchik [ 2014-11-10 ] | ||||||||||
|
elenst, Isn't this the same with 5.6? They also run run_sql_fix_privilege_tables() before upgrading user tables and it also includes flush privileges. | ||||||||||
| Comment by Elena Stepanova [ 2014-11-10 ] | ||||||||||
|
Maybe, I can check it if it helps. | ||||||||||
| Comment by Andriy [ 2014-11-18 ] | ||||||||||
|
Any delivery date defined? | ||||||||||
| Comment by Sergei Golubchik [ 2014-11-18 ] | ||||||||||
|
It's fairly high priority (was Blocker, even though I've just downgraded it to Critical). Normally it means that it will be in the next 10.0 release (see http://mariadb.org/jira for the release schedule). |