Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-01-2003, 08:51 PM   #1
LQ Newbie
Registered: May 2003
Posts: 15

Rep: Reputation: 0
Restarting mysql database on restart

Greets all

After much nashing of the teeth i have been able to reinstall my mysql database and phpBB forum.... however how do I make sure that the database (phpBB2) is automatically restarted on startup - webmin isn't working for mysql (but at this time I working from the commandline).

Any help will be great.


Old 06-01-2003, 09:22 PM   #2
LQ Veteran
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
You don't state your distro, but in a lot of them, the /etc/rc.d/rc.local file is run at the end of every boot. Just put the proper commands in there and you should be good to go.
Old 06-01-2003, 09:31 PM   #3
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
You mean how do you make sure mysql is set to run at startup? If so:

chkconfig mysqld on
Old 06-01-2003, 09:41 PM   #4
LQ Newbie
Registered: May 2003
Posts: 15

Original Poster
Rep: Reputation: 0
Ta guys

Have added the mysql command to the chkconfig line. The distro was RH7.3 and mysql 4.0.13




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL restart script? Fuwex Debian 2 08-17-2005 03:23 PM
Mysql crashes after restart ... :( sys7em Slackware 1 11-24-2004 04:33 PM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 03:43 PM
MYSQL help - mysql database missing eloviyandhi Linux - Software 1 03-20-2004 10:20 PM
console command, to restart my rc.firewall ruleset w/out restarting my pc linuxboy_inside Linux - Networking 2 01-04-2004 09:24 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration