LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-18-2005, 06:21 PM   #1
barrythai
Member
 
Registered: Dec 2004
Location: thailand
Distribution: suse9.3, Mandrake10.1
Posts: 381

Rep: Reputation: 30
how do I start mysql server?


I have installed the mysql on 10rc1 x86_64.

as root in a terminal.

I can't get the server to run. I am not sure if there is something wrong with the rc1 or something I have forgot.

I ran mysql_db_connect

started mysql with mysql_safe &

then set the password as instructed in the start up page, then when I try to start mysql
with mysql -u root -p it asks for a password then attempts to start the server then halts it.

I recollect I had this problem before with suse, but cannot remember how to solve it.

Anyone, know what to check or fix to start the server?

 
Old 09-18-2005, 08:21 PM   #2
ag2uki
Member
 
Registered: Oct 2004
Location: Yogyakarta, Indonesia
Distribution: Mandrake 9.0, 9.1, 9.2, 10.0
Posts: 84

Rep: Reputation: 16
# /etc/init.d/mysql start
 
Old 09-19-2005, 02:24 AM   #3
barrythai
Member
 
Registered: Dec 2004
Location: thailand
Distribution: suse9.3, Mandrake10.1
Posts: 381

Original Poster
Rep: Reputation: 30
Thanks, it works.

Can't understand why all distro's don't work the same?
 
Old 09-19-2005, 06:49 AM   #4
vimal
Red Hat India
 
Registered: Nov 2004
Location: Kerala/Pune,india
Distribution: RedHat, Fedora
Posts: 260

Rep: Reputation: 36
Hi barrythai,
You can also start mysql or any of the services by the command "service mysqld start". be sure to replace the respective daemon names in place of mysqld. you can find the daemons in /etc/init.d/. you can also use the options "restart" , "stop" and" reload" with the previous command. the command "service mysqld start" helps you very much since you dont have to remember the exact path of the script as in "/etc/init.d/mysql". both works...... feel free to contact if problem persists......
vimal...........
 
Old 04-05-2006, 05:46 PM   #5
The_eXXe
Member
 
Registered: Mar 2004
Location: TR
Distribution: Ubuntu 9.04 (x64)
Posts: 62

Rep: Reputation: 15
Quote:
Originally Posted by ag2uki
# /etc/init.d/mysql start
thanks dude.. this was what i was looking for..
 
  


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
Trying to start Mysql server number11 Linux - Newbie 3 06-06-2005 01:59 PM
MySQL server doesn't want to start AJ_Cantos Linux - Software 7 11-29-2004 04:24 PM
How to start mysql server krussell Linux - General 2 01-19-2004 10:24 AM
MySQL server start up problems spectrumver1 Linux - Software 2 12-09-2003 07:56 PM
Proplems start MySQL server... Simon W Linux - General 1 03-09-2002 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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