Mysql startup configuration

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Mysql startup configuration

Postby 4ztd » 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 &
4ztd
 
Posts: 5
Joined: Thu Apr 05, 2007 9:58 pm

Postby dlapitan » Sun Apr 08, 2007 1:22 am

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.
dlapitan
 
Posts: 68
Joined: Fri Nov 24, 2006 3:59 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], hanidhakwani and 97 guests