Bug #46576 | InnoDB does not appear to be supported in 5.4.1 | ||
---|---|---|---|
Submitted: | 5 Aug 2009 22:22 | Modified: | 7 Aug 2009 6:20 |
Reporter: | Rob Ristroph | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: General | Severity: | S3 (Non-critical) |
Version: | 5.4.1 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[5 Aug 2009 22:22]
Rob Ristroph
[5 Aug 2009 23:55]
MySQL Verification Team
Could you please print here what was printed in the err-log file. Thanks in advance.
[6 Aug 2009 15:59]
Rob Ristroph
The mysql error log file is empty. Also, I subsequently removed 5.4.1 and installed 5.1.37. InnoDB was still disabled. Whatever is causing InnoDB to be disabled survived and rpm -e and the subsequent installation of new mysql rpms. That might be an issue with my linux distribution or the rpm packages, not mysql directly, but I still need to figure out what is causing mysql to not provide innodb. Thanks for looking at this - I appreciate any suggestions at all.
[6 Aug 2009 16:23]
Rob Ristroph
I debugged further by making my /etc/init.d/mysqld file echo out the command that is used to start mysql; I then re-ran that command at the prompt without the redirection to /dev/null; then I saw that my error log was not the file that I thought it was. Examining the error log showed that it was complaining about my InnoDB logs being too small. I moved those aside and restarted mysql to let it rebuild them. This got me to having InnoDB in 5.1.37. I expect the same will happen when I try 5.4.1 again in a bit, I will post here with the results and then we can probably close this. Thanks !
[6 Aug 2009 17:42]
Rob Ristroph
I managed to get 5.4.1 working with InnoDB. When I upgraded from 5.1.37, I had this message in my error log: 090806 12:27:10 mysqld_safe mysqld from pid file /var/lib/mysql/delta.pid ended 090806 12:28:34 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql InnoDB: The InnoDB memory heap has been disabled. InnoDB: ios_per_array 256 read threads 8 write threads 8 090806 12:28:34 InnoDB: Log file ./ib_logfile2 did not exist: new to be created 090806 12:28:34 [ERROR] Plugin 'InnoDB' init function returned error. 090806 12:28:34 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. But, after shutting down mysql and removing the ib_logfile* files, and then restarting to let it rebuild them, it worked ! This bug can be closed, I think. That the upgrade required rebuilding the logfiles and didn't automatically do it might be an issue, but that should be a separate bug if it is. Thanks for the help !
[7 Aug 2009 6:20]
Valeriy Kravchuk
Not a bug, based on last comment.
[1 Oct 2009 6:27]
Rob Lewis
I can confirm that the issue exists in the MacOS X (64-bit Intel) beta version of MySQL 5.4.2. InnoDB would not start up until I deleted the ib_logfile* files.