mysql server can't be started: mysql.host doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.0 (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mysql-server-5.0
The MySQL server process can't be restarted:
bronger@
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
daemon.log says:
Jul 13 11:18:03 wilson mysqld_safe[7307]: started
Jul 13 11:18:03 wilson mysqld[7311]: 080713 11:18:03 InnoDB: Started; log sequence number 0 43685
Jul 13 11:18:03 wilson mysqld[7311]: 080713 11:18:03 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
Jul 13 11:18:03 wilson mysqld_safe[7322]: ended
I haven't figured out which actions have led to this behaviour. I'm not aware of having made something unusual.
Re-installing mysql-server help but not for very long.
On Sun, Jul 13, 2008 at 10:12:04AM -0000, Torsten Bronger wrote:
> daemon.log says:
>
> Jul 13 11:18:03 wilson mysqld_safe[7307]: started
> Jul 13 11:18:03 wilson mysqld[7311]: 080713 11:18:03 InnoDB: Started; log sequence number 0 43685
> Jul 13 11:18:03 wilson mysqld[7311]: 080713 11:18:03 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
> Jul 13 11:18:03 wilson mysqld_safe[7322]: ended
>
Could you check if you have apparmor messages in /var/log/kernel.log ?
Did you change the default mysql.cnf file ? Where are your data file
located (in /var/lib/mysql) ?
status incomplete
-- www.ubuntu. com
Mathias Gug
Ubuntu Developer http://