LinuxQuestions.org
Help answer threads with 0 replies.
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 03-27-2010, 10:53 AM   #1
Beekman
Member
 
Registered: Mar 2010
Location: Kampen, The Netherlands
Distribution: Ubuntu 14.04
Posts: 33

Rep: Reputation: 0
How do I start a (MySQL) service


I installed MySQL and I want the service to (always) start.

When I google I always find the same answer; Goto System > Administration > Services...
But I don have it.

Administration for me goes from 'Printing' to 'Software Sources', so there's no 'Services'...


Also should I be able to start it from a shell, but I also can find that.
(I have no /etc/rc.d/-directory and my /etc/init.d/-directory han no 'mysql')

I just started using Linux a few days ago (I only used MaxOsX and Windows before), so I'm a real newbie
 
Old 03-27-2010, 10:56 AM   #2
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
What distrobution are you using?

Most have some sort of service/feature for automatically starting things, but it varies from distrobution to distrobution

On gentoo for example it would be
Code:
rc-update add mysqld default
but on yours it maybe different.

Please post this infomation along with how you installed mysql too and then we might be able to help
 
Old 03-27-2010, 11:05 AM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,028

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
assuming fedora
Code:
sudo service mysqld start
you mite need to install it
Code:
sudo yum install mysql mysql-server

Last edited by schneidz; 03-27-2010 at 11:08 AM.
 
1 members found this post helpful.
Old 03-27-2010, 11:19 AM   #4
Beekman
Member
 
Registered: Mar 2010
Location: Kampen, The Netherlands
Distribution: Ubuntu 14.04
Posts: 33

Original Poster
Rep: Reputation: 0
O yeah, forgot to mention that...
I use Ubuntu 9.10... and I installed it using apt-get.

Only now I see I probably did the wrong thing;
I did; sudo apt-get install mysql
I should have done; sudo apt-get install mysql-server
 
Old 03-27-2010, 11:20 AM   #5
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by schneidz View Post
assuming fedora
Code:
sudo service mysqld start
you mite need to install it
Code:
sudo yum install mysql mysql-server
Probably he is on ubuntu.
 
Old 03-27-2010, 11:26 AM   #6
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by Beekman View Post
O yeah, forgot to mention that...
I use Ubuntu 9.10... and I installed it using apt-get.

Only now I see I probably did the wrong thing;
I did; sudo apt-get install mysql
I should have done; sudo apt-get install mysql-server
http://www.howtogeek.com/howto/ubunt...r-5-on-ubuntu/

Code:
sudo update-rc add mysqld default

Last edited by cola; 03-27-2010 at 11:39 AM.
 
Old 03-27-2010, 11:29 AM   #7
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by Beekman View Post
O yeah, forgot to mention that...
I use Ubuntu 9.10... and I installed it using apt-get.

Only now I see I probably did the wrong thing;
I did; sudo apt-get install mysql
I should have done; sudo apt-get install mysql-server
http://www.zolved.com/synapse/view_c...ySQL_On_Ubuntu
 
Old 03-27-2010, 11:40 AM   #8
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
Quote:
Originally Posted by Beekman View Post
O yeah, forgot to mention that...
I use Ubuntu 9.10... and I installed it using apt-get.

Only now I see I probably did the wrong thing;
I did; sudo apt-get install mysql
I should have done; sudo apt-get install mysql-server
Another:

http://www.cyberciti.biz/faq/howto-r...start-service/
 
  


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
Can't start/stop Mysql Service dereko Linux - Server 1 06-28-2009 04:20 PM
I have RHEL 5.0 and MySQL start problem, my MySQL server doesn't start rsatya Linux - Enterprise 4 02-03-2009 01:04 PM
MySQL 5.0.27 + Fedora 6, Cannot Start Service efuser Fedora 2 11-17-2008 12:56 PM
service can not start mysql dfw123 Linux - Server 0 04-25-2007 05:05 PM
Making a program/service ( MySQL ) start up on boot ( FC3 ) karmazilla Fedora 6 06-27-2005 11:19 AM


All times are GMT -5. The time now is 08:33 AM.

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