LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   how do I start mysql server? (https://www.linuxquestions.org/questions/suse-opensuse-60/how-do-i-start-mysql-server-364651/)

barrythai 09-18-2005 06:21 PM

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?

:scratch: :scratch: :scratch:

ag2uki 09-18-2005 08:21 PM

# /etc/init.d/mysql start

barrythai 09-19-2005 02:24 AM

Thanks, it works.

Can't understand why all distro's don't work the same?

vimal 09-19-2005 06:49 AM

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...........

The_eXXe 04-05-2006 05:46 PM

Quote:

Originally Posted by ag2uki
# /etc/init.d/mysql start

thanks dude.. this was what i was looking for.. :D


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