How to automatically start mysql after server restart (CentOS + other distros)? Use chkconfig: chkconfig --level 345 mysqld on