Debian - Can't stop MySQL; permissions?
Posted
by
anon
on Super User
See other posts from Super User
or by anon
Published on 2011-04-07T21:59:46Z
Indexed on
2012/11/04
17:05 UTC
Read the original article
Hit count: 196
I just tried to upgrade from debian squeeze to unstable by replacing 'squeeze' with 'unstable' in /etc/apt/sources.list. The upgrade went smoothly except for mysql, which failed because it couldn't stop mysql. /etc/init.d/mysql stop
simply returns that it failed, but if I try to get the status with /etc/init.d/mysql status
it gives me this error:
me@debian:~$ sudo /etc/init.d/mysql status /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)' .
mysql is running fine, and I checked the permissions for debian-sys-maint in phpmyadmin and it's allowed to do everything, but only connect from 'localhost.'
© Super User or respective owner