Bug #4580 | MySQL 4.1 crashes badly after having upgraded from 4.0. | ||
---|---|---|---|
Submitted: | 17 Jul 2004 11:32 | Modified: | 21 Oct 2004 23:09 |
Reporter: | Alexander M. Turek | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Installing | Severity: | S2 (Serious) |
Version: | 4.1.3 | OS: | Linux (Linux 2.6.7) |
Assigned to: | CPU Architecture: | Any |
[17 Jul 2004 11:32]
Alexander M. Turek
[23 Jul 2004 4:50]
MySQL Verification Team
Did you read and applied the instructions: 2.5.2 Upgrading from Version 4.0 to 4.1 http://dev.mysql.com/doc/mysql/en/Upgrading-from-4.0.html if following the recommendation above you continue with the same problem please show for us where it failed. Thanks
[28 Jul 2004 22:22]
Alexander M. Turek
Miguel, yes, I have read the instructions, but they don't solve my problem. In fact the do not even seem to touch it... Well, where does it fail...? After having upgraded my MySQL server distribution, I try to run `mysqld_safe` still having the old database files from MySQL 4.0.20 inside the datadir, but nothing happens. The server does not respond, it pollutes the logfiles with the entries I already mentioned and its two processes (one for mysqld_safe and one for mysqld) can only be killed "the hard way" by using `kill -KILL process1 process2`. The same thing happens when running mysql_install_db. Please try to reproduce the problem yourself. I could reproduce it on _every_ system on which I upgraded from MySQL 4.0 to 4.1. Regards, Alexander
[30 Jul 2004 16:54]
Sergei Golubchik
I wasn't able to repeat the crash. it probably means the problem is in your mysql database. Can you attach the files from it to this bugreport (you can mark them "private" if you want only us to be able to download them) ? Attach binary table files - frm, MYD, and MYI - but *not* table dump as generated by mysqldump!
[1 Aug 2004 23:19]
Alexander M. Turek
Sergei, Thank you for your quick answer. It is really strange that you could not reproduce it because, as I said, I could reproduce it on every machine on which I upgraded to MySQL 4.1. In order to provide these table definition files, I would have to downgrade one of my testing machines back to MySQL 4.0.20 and this will take some time, so please do not kill this report. ;-) Anyway, I doubt that my old table definition files are the main cause, as MySQL 4.1.3 is actually able to read them. As I said in my initial post, the crash is gone and MySQL works like a charm, if I move my old "mysql" database directory to some backup location, run mysql_install_db and replace the newly created tables by my old ones from MySQL 4.0.20. I suppose the problem is that MySQL chokes on the fact that not all of the required tables are present. Maybe it checks for some, finds the ones from MySQL 4.0.20 and happily believes that even the ones that were added in 4.1 are present. Having a look at the log output I provided, we find a warning right before the big error output saying that MySQL did not find the timezone tables and tries to live without them. This fact could hint into the same direction. Anyway, you'll get the files you requested. :-) Regards, Alexander
[2 Aug 2004 9:13]
Sergei Golubchik
Unfortunately, the warning about missing time_zone_leap_second table doesn't tell that much - I see this warning every time I run mysqld 4.1 with 3.23 or 4.0 privilege tables, it is normal and never caused a crash for me (yet).
[21 Sep 2004 23:09]
Alexander M. Turek
Sorry for not having replied that long. The problem seems to be gone in MySQL 4.1.5, as far as I can tell.
[14 Feb 2005 22:54]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".