Page 1 of 1

Mysql startup configuration

PostPosted: Sun Apr 08, 2007 12:01 am
by 4ztd
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 &

PostPosted: Sun Apr 08, 2007 1:22 am
by dlapitan
Hi,

Not necessary, if you already have mysql running.
You should have only 1 mysql running.


1. Use this entries if you install mysql 4.0.27
/usr/local/mysql/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache &

2. and used this if you install mysql 4.1.x
### 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 &


Please read carefully and follow the scratch installations.