MySQL autostart on centos

Just setup mysql on centos and forgot to set it to auto-start on boot - there the quick fix

sudo /sbin/chkconfig --level 2345 mysqld on

check that this worked as expected by running the chkconfig list

/sbin/chkconfig --list

should result in the below output

mysqld          0:off  1:off  2:on  3:on  4:on  5:on  6:off

Justin Kelly

Justin Kelly

Data Engineeer, Business Analytics, Web Developer, Library Technology specialising in PHP and Tableau

Based in Melbourne, Australia

Feel free to contact me justin@kelly.org.au or _justin_kelly