LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-28-2002, 03:56 PM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
Startup & MySQL (mysqld)


I use Slack 8.0 and have begun to experiment with
MySQL. After I finally figured out how to install and start
the server, create some tables and access data, I
decided that I should probably start the server when
Linux starts.

I have added the following to rc.local:

echo "Start the MySQL Daemon"
/usr/bin/safe_mysqld &

which seems to work just fine.

However, I have now waded a little further into the
documentation and discover that for startup purposes,
the script "mysql.server" is recommended.

Aside from invoking input from my.cnf, if you have one,
is there any other advantage/necessity to running
this script at startup as opposed to what I have been
using?
 
Old 08-28-2002, 04:15 PM   #2
Dave Campbell
Member
 
Registered: Dec 2001
Location: London
Distribution: Redhat 6.2
Posts: 48

Rep: Reputation: 15
Re: Startup & MySQL (mysqld)

Quote:
Originally posted by raypen
I use Slack 8.0 and have begun to experiment with
MySQL. After I finally figured out how to install and start
the server, create some tables and access data, I
decided that I should probably start the server when
Linux starts.

I have added the following to rc.local:

echo "Start the MySQL Daemon"
/usr/bin/safe_mysqld &

which seems to work just fine.

However, I have now waded a little further into the
documentation and discover that for startup purposes,
the script "mysql.server" is recommended.

Aside from invoking input from my.cnf, if you have one,
is there any other advantage/necessity to running
this script at startup as opposed to what I have been
using?
well the mysql.server script checks for mysql processes already running and other such essential stuff - I would only consider putting the mysql.server script in - ditch your first option
 
  


Reply



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
mysqld error : 'mysql ended' anindyanuri Slackware 8 11-25-2005 11:14 PM
Mysql Installation on Gentoo - mysqld.sock? Bob Gaskin Linux - Software 1 12-04-2003 11:27 PM
mysqld on startup... dark poet Linux - Newbie 8 10-05-2003 12:16 AM
MYSQL on Slackware9.0 ./mysqld: Can't change dir to '/var/lib/mysql/' (Errcode: 13) Litn Linux - Software 2 09-02-2003 09:00 PM
mysqld fails on startup wiseraptor Linux - Newbie 0 02-07-2003 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:16 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
Open Source Consulting | Domain Registration