LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2009, 04:31 AM   #1
ykc
LQ Newbie
 
Registered: Mar 2009
Posts: 4

Rep: Reputation: 0
starting mysql with system startup.


hi all,

i installed mysql, from mysql-5.1.31-linux-x86_64-glibc23.tar.gz,
and for installing followed steps given INSTALL-BINARY file,

now i am starting mysql perfectly using command,
Code:
 mysqld_safe --user=mysql &
but i want to start mysql service when system boots or system startup.

thanks in advance.
 
Old 04-21-2009, 04:43 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
Grab an init file from your distro's package and modify the paths to match your tarball install and then install it to your init dir.
 
Old 04-21-2009, 05:29 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,817

Rep: Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864Reputation: 1864
You didn't say what distro you're using.
Anyway there is a startup scrpt (mysql.server) located under the subdir support-files in the directory created where you extracted the mysql-5.1.31-linux-x86_64-glibc23.tar.gz.
 
  


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
How to PREVENT mysql from starting up upon system startup agostonbejo Ubuntu 5 11-04-2007 11:55 AM
Starting a Java program on system startup guitar_199 Linux - General 6 09-25-2007 05:23 AM
Starting MySQL automatically on Slackware 10 on system startup abtimoteo Slackware 2 09-24-2007 02:40 AM
starting httpd during system startup - problems - HELP! noobinacan Linux - Software 2 02-06-2007 08:24 PM
starting mysql on system boot jleavitt Debian 7 09-30-2003 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:24 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