View Single Post
  #2  
Old 31st May 2013, 20:28
morganew morganew is offline
Junior Member
 
Join Date: Jun 2007
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Problem solved.

It turns out that the updated version of mySQL added the flag "skip-bdb" to the mysql config file in /etc/mysql/my.cnf

check your syslog and look for the following error

[ERROR] /usr/sbin/mysqld: unknown option '--skip-bdb'

If you see this error, try the following fix. In your /etc/mysql/my.cnf, comment out the following line:

# Using BerkeleyDB is now discouraged as its support will cease in 5.1.12.
skip-bdb

to read:

# Using BerkeleyDB is now discouraged as its support will cease in 5.1.12.
#skip-bdb

after making this change, I was able to do another apt-get install mysql-server and it all went smoothly.

There may be some reason to NOT comment that switch out, but I was trying to solve the immediate problem. If my "fix" creates some downstream problem I haven't considered, please let me know here.
Reply With Quote