[Bug 316974] Re: Mysql dead after update

Matteo Settenvini matteo-ml at member.fsf.org
Wed Jan 28 21:31:48 GMT 2009

Broken again for me with mysql-server-5.1 version 5.1.30-2ubuntu4; fails
upong trying to start the service. It was okay in the version before
this by following directions as per bug 316849, so that's not the case

ChangeLog says:

mysql-dfsg-5.1 (5.1.30-2ubuntu4) jaunty; urgency=low

  [ Jonathan Riddell ]
  * Move data files to /usr/share/mysql-5.1 with
    --datadir=/usr/share/mysql-5.1 to make them co-installable with mysql 5.0
  * Update debian/rules for the above change
  * Split out /usr/share/mysql-5.1 into new mysql-server-data-5.1 package.
    These files are needed for embedded use of mysql (e.g. by Amarok).
  * Make mysql-server-5.1 conflict on mysql-server-core-5.0 (LP: #321185)

  [ Harald Sitter ]
  * Update all remaining references of usr/share/mysql/
  * Conflicts for the Kubuntu Intrepid deployment (subject for upgrade testing):
    + libmysqlclient16 replaces & conflicts amarok-libmysqlclient16
    + libmysqlclient16.dev replaces & conflicts amarok-libmysqlclient-dev
    + mysql-data-5.1 replaces & conflicts amarok-mysql-data
  * Link /usr/share/mysql-5.1/aclocal/mysql.m4 to /usr/share/aclocal/

 -- Harald Sitter <apachelogger at ubuntu.com>  Tue, 20 Jan 2009 15:43:46

By the way, starting "mysqld" by hand via console, brings up the following error:
090128 22:23:38 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'

In fact, that file is now in
'/usr/share/mysql-5.1/mysql/english/errmsg.sys', so I believe someone
should fix it.

The complete output to the console is:

matteo at Dahlia:/usr/share/doc/mysql-server-5.1$ sudo mysqld
090128 22:29:20 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.sys'
090128 22:29:21  InnoDB: Started; log sequence number 0 36380721
090128 22:29:21 [ERROR] Aborting

090128 22:29:21  InnoDB: Starting shutdown...
090128 22:29:22  InnoDB: Shutdown completed; log sequence number 0 36380721
090128 22:29:22 [Note] 

Finally, running sudo /etc/mysql/debian-start brings this output:
Checking for corrupt, not cleanly closed and upgrade needing tables.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Mysql dead after update
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.

More information about the Ubuntu-server-bugs mailing list