Quote:
Originally Posted by john_d13
lol u guys r funny wow 4 replies in 2 hours thats great!
I think I tried taht second post but ill double check then try again and let u know.
cant i just add "/etc/rc.d/rc.mysqld start" to rc.local?
|
MySQL is started from /etc/rc.d/rc.M, specifically this little block of code
Code:
# Start the MySQL database:
if [ -x /etc/rc.d/rc.mysqld ]; then
. /etc/rc.d/rc.mysqld start
fi
So adding "/etc/rc.d/rc.mysqld start" to /etc/rc.d/rc.local means the system will try to start mysql twice.
Quote:
Originally Posted by john_d13
isint this the file I can just add command lines and they execute on boot?
|
This is the file to start additional programs, but not in this case because mysql has its own rc script