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

Web Developer, Business Analytics, Data Engineer specialising in PHP, ReactJS, Tableau, AWS RedShift and Matillion ETL

Based in Melbourne, Australia

Feel free to contact me or _justin_kelly

Leave a comment

Name Notify me of replies by email.