In looking at this closer, I believe this is a bug in the debian-start script.
Because pipes mask errors in the left-most commands (only the last command in pipes have errors detected), we're not detecting the problem with the mysql upgrade process, leading to the error you see in comment #10. Deeper inspection reveals that the way the debian-sys-maint user is created is really probably the issue. Marking as Confirmed, importance Medium. This only seems to affect a few users, but probably makes things fairly frustrating for those users. ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New => Confirmed ** Changed in: mysql-dfsg-5.1 (Ubuntu) Importance: Low => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in Ubuntu. https://bugs.launchpad.net/bugs/542543 Title: Access denied for user 'root'@'localhost' to database SOMEDB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/542543/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs