Mysql startup configuration
Posted: Sun Apr 08, 2007 12:01 am
Hello,
Is it nesasary to have /etc/rc.d/rc.local start up mysql if I have already made mysql to startup at boot time? I have notice that doing it this way has not caused any errors. But before I made mysql startup at boot time there were errors "my own fault". I'm just not sure if I'm suppose to use both "mysql start at boot time & the entries in the rc.local together for vicidial to work?
Here's a sample from my rc.local file
### start up the MySQL server
#/usr/local/mysql/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache &
### start up the MySQL 4.1.X server (with old passwords)
#/usr/local/mysql/bin/safe_mysqld --old-passwords --skip-name-resolve --skip-host-cache &
Is it nesasary to have /etc/rc.d/rc.local start up mysql if I have already made mysql to startup at boot time? I have notice that doing it this way has not caused any errors. But before I made mysql startup at boot time there were errors "my own fault". I'm just not sure if I'm suppose to use both "mysql start at boot time & the entries in the rc.local together for vicidial to work?
Here's a sample from my rc.local file
### start up the MySQL server
#/usr/local/mysql/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache &
### start up the MySQL 4.1.X server (with old passwords)
#/usr/local/mysql/bin/safe_mysqld --old-passwords --skip-name-resolve --skip-host-cache &