LinuxQuestions.org
Register a domain and help support LQ
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 10-27-2003, 03:50 AM   #1
injun
Member
 
Registered: Oct 2003
Posts: 33

Rep: Reputation: 15
mysql


hello i am trying to install mysql on linux so far it went good untill
chkconfig --add mysql
my linux machine has no chkconfig is there alternative routes to installing it to run on boot?
 
Old 10-27-2003, 03:54 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
A couple of things to make it easier to help: What distribution do you use, and how did you install it? (build from source, rpm package, deb package....)

Håkan
 
Old 10-27-2003, 03:56 AM   #3
injun
Member
 
Registered: Oct 2003
Posts: 33

Original Poster
Rep: Reputation: 15
source and i have slackware distro
 
Old 10-27-2003, 04:25 AM   #4
skate
Member
 
Registered: Aug 2003
Location: Bulgaria
Distribution: OpenSuse 10.3, Debian 4.0r3 "Etch", FreeBSD 7.1, Ubuntu
Posts: 210

Rep: Reputation: 30
You must have MySQL on your linux distribution cd....to RPM package..;] or download the latest and stable version from the official site and install it...
http://www.mysql.com/
 
Old 10-27-2003, 04:47 AM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
The source distribution of MySQL does come with an example init script, doesn't it? Copy it to /etc/init.d/, make it executable and create the symlinks to it in the rc.? directories according to on what runlevels you want it to be started or shut down.

Håkan
 
Old 10-27-2003, 06:01 AM   #6
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Quote:
The source distribution of MySQL does come with an example init script, doesn't it? Copy it to /etc/init.d/, make it executable and create the symlinks to it in the rc.? directories according to on what runlevels you want it to be started or shut down.
Yup, you should have have a file msql.server somewhere if you installed from source

cp that to /etc/rc.d/rc.mysqld

chmod +x rc.mysqld
if it ain't already

Should start at boot now aswell as /etc/rc.d/rc.mysqld stop/start etc.
 
  


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
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 03:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 08:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 02:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-08-2008 12:48 AM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 09:44 AM


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