Bug#682232: [debian-mysql] Bug#682232: Failed upgrade of mysql from squeeze to wheezy

2016-03-07 Thread Johannes Ranke
> Hi Johannes! Thanks for taking the time to reach out. I'm struggling
> to understand what the "bug" is. Config files that have been customized
> have to be manually updated in any major upgrade. I don't think that's
> specific to MySQL.

Hi Clint,

good question. It bugged me, because I did not get any log entries under 
/var/log/mysql*, so I had to start mysqld in a way I usually don't, in order 
to get a diagnostic message about what was going on.

Also, as far as I can remember I never introduced the option skip-bdb 
manually. For me, if a previously valid configuration option makes a service 
fail to start after the upgrade, this is unexpected. But I do not want to 
complain, I added this information to help others to solve the problem!
If the maintainers get something out of it, even better.



Bug#682232: [debian-mysql] Bug#682232: Failed upgrade of mysql from squeeze to wheezy

2016-03-07 Thread Clint Byrum
Excerpts from Johannes Ranke's message of 2016-03-07 13:06:51 -0800:
> Just for the record, maybe there are more people out there that are late 
> upgrading their servers from squeeze to wheezy...
> 
> When /etc/init.d/mysql start fails as described in this report, the command
> 
> mysqld
> 
> gives information on the command line what is going on. In my case, I had 
> several errors, including the hint that I should run mysql_upgrade (which did 
> not work, as it needs a running mysql server):
> 
> 160307 21:49:22 [ERROR] Can't open the mysql.plugin table. Please run 
> mysql_upgrade to create it.
> 160307 21:49:22 [ERROR] mysqld: unknown option '--skip-bdb'
> 160307 21:49:22 [ERROR] Aborting
> 
> So in the end, in addition to using
> 
> default-storage-engine=myisam
> 
> I had to comment out the line
> 
> #skip-bdb
> 

Hi Johannes! Thanks for taking the time to reach out. I'm struggling
to understand what the "bug" is. Config files that have been customized
have to be manually updated in any major upgrade. I don't think that's
specific to MySQL.