LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-01-2003, 07:51 PM   #1
psycho2000
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.

Cheers

P2000
 
Old 06-01-2003, 08:22 PM   #2
Hangdog42
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, 08:31 PM   #3
Crashed_Again
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, 08:41 PM   #4
psycho2000
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

Cheers

P2000
 
  


Reply


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 02:23 PM
Mysql crashes after restart ... :( sys7em Slackware 1 11-24-2004 03:33 PM
Writing an app that uses a mysql database without installing mysql server? QtCoder Programming 4 08-09-2004 02:43 PM
MYSQL help - mysql database missing eloviyandhi Linux - Software 1 03-20-2004 09:20 PM
console command, to restart my rc.firewall ruleset w/out restarting my pc linuxboy_inside Linux - Networking 2 01-04-2004 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:19 PM.

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