denis@australia:~$ cat /etc/issue
Ubuntu 12.04.1 LTS \n \l
denis@australia:~$ chkconfig --list mysql
mysql 0:off 1:off 2:off 3:off 4:off 5:off 6:off
But mysql runs on the startup anyway.
I'm guessing that the issue here is that checkconfig checks the old style init scripts, and you have a new upstart init script.
Go to /etc/init/mysql.conf
and change start on (net-device-up and local-filesystems)
to start on runlevel [!0123456]
If you need to start it manually service mysql start
will do the trick. This thread on ubuntu forums goes into some depth on the process
A bit more background - chkconfig works on old school init scripts - they're known as /etc/rc scripts, but the form used in ubuntu was /etc/init.d. In order to list scripts - according to this question on AU, the command you should be using instead of chkconfig
is initctl list
. It will not change runlevels for you like chkconfig would tho.