[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Fixing corrupt mysql table



Thanks.

After backing up the entire system here's what I get when I try to reconfigure mysql:

# dpkg-reconfigure mysql-server-5.1
Stopping MySQL database server: mysqld.
Stopping MySQL database server: mysqld.
111128 12:43:41 [Note] Plugin 'FEDERATED' is disabled.
111128 12:43:41  InnoDB: Started; log sequence number 0 26422218
111128 12:43:41  InnoDB: Starting shutdown...
111128 12:43:46  InnoDB: Shutdown completed; log sequence number 0 26422218
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
ERROR 1045 (28000): Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)

I'm also not able to shut down the mysql daemon:

# /etc/init.d/mysql stop
Stopping MySQL database server: mysqld failed!

I am able to shut it down manually:

# kill `cat /var/run/mysqld/mysqld.pid`

I assume that I need to have the debian-sys-maint user set up to shut down the system.

Any other suggestions here?


Reply to: