Bug #87837 | MySQL 8 does not start after upgrade to 8.03 | ||
---|---|---|---|
Submitted: | 22 Sep 2017 9:08 | Modified: | 21 Dec 2017 8:27 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S1 (Critical) |
Version: | 8.0.3 | OS: | Windows (10/64 bit) |
Assigned to: | CPU Architecture: | Any |
[22 Sep 2017 9:08]
Peter Laursen
[22 Sep 2017 9:15]
Peter Laursen
Setting innodb_force_recovery = 1 (https://dev.mysql.com/doc/refman/8.0/en/forcing-innodb-recovery.html) ... did not help. I have no important data there so I can uninstall completely and do a fresh install. I'll just wait a little while in case you need more info from my environment.
[22 Sep 2017 10:15]
Peter Laursen
This is an "S1" category ('denial of service'), obviously.
[22 Sep 2017 11:19]
Peter Laursen
It seems that mysql.idb is gone? C:\ProgramData\MySQL\MySQL Server 8.0\Data\mysql>dir Volume in drive C is Win10 Volume Serial Number is 0805-A57A Directory of C:\ProgramData\MySQL\MySQL Server 8.0\Data\mysql 18-07-2017 12:11 <DIR> . 18-07-2017 12:11 <DIR> .. 08-09-2017 19:29 35 general_log.CSM 18-07-2017 12:11 0 general_log.CSV 18-07-2017 12:11 8.896 general_log_188.sdi 08-09-2017 19:29 35 slow_log.CSM 18-07-2017 12:11 0 slow_log.CSV 18-07-2017 12:11 18.289 slow_log_189.sdi 6 File(s) 27.255 bytes 2 Dir(s) 70.312.484.864 bytes free C:\ProgramData\MySQL\MySQL Server 8.0\Data\mysql>
[22 Sep 2017 11:28]
MySQL Verification Team
I believe this is expected. First Note in here: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-3.html That being said, I'm not sure why the installer tries to upgrade non-GA versions at all.
[22 Sep 2017 12:28]
Peter Laursen
I have now uninstalled (including deleting data files) and installed 8.03 from scratch and it works as expected. I now see the "mysql.ibd" file is in C:\ProgramData\MySQL\MySQL Server 8.0\Data and not in C:\ProgramData\MySQL\MySQL Server 8.0\Data\mysql. So my comment on the missing file can be ignored (though I still think the file should rather be in C:\ProgramData\MySQL\MySQL Server 8.0\Data\mysql).
[26 Sep 2017 9:15]
Peter Laursen
@Shane .. I know that non-GA versions may not be "updateable". But in such case the Installer should know this and prompt user do do a complete uninstall of old version.
[27 Sep 2017 5:29]
Chiranjeevi Battula
Hello Peter, Thank you for the bug report. Verified as described on MySQL for Windows Installer with 8.0.3 version. Thanks, Chiranjeevi.
[27 Sep 2017 8:20]
Peter Laursen
I have another concern: If MySQL 8.03 changes some InnoDB internals and changes prevent upgrade from previous versions, what will happen when 8.x goes GA? Will upgrade from 5.7 to 8.0 also not be possible?
[21 Dec 2017 8:27]
Erlend Dahl
Posted by developer: Upgrades between 8.0.x milestones and release candidates can't be expected to work, since we reserve the right to do major incompatible changes between these versions. We will support upgrade from 5.7 to 8.0 GA.
[20 Jun 2018 9:26]
MySQL Verification Team
https://bugs.mysql.com/bug.php?id=90881 marked as duplicate of this one.
[25 Oct 2018 16:18]
Sergey Brunov
Hi, everyone! Is there any way to recover the databases, after performing the inappropriate upgrade? I have upgraded MySQL Server from 8.0.2 to 8.0.12 recently and now it is not clear, what I can do to get the server to the working state. My problem seems to be nearly the same as, because of receiving the same error: [MySQL Bugs: #90881: mysql won't start](https://bugs.mysql.com/bug.php?id=90881). Best regards, Sergey Brunov.