LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Getting MySql to run on startup (https://www.linuxquestions.org/questions/debian-26/getting-mysql-to-run-on-startup-154822/)

jriis 03-07-2004 10:37 PM

Getting MySql to run on startup
 
Hi

I just succeeded in getting my Debian box up and running. I have installed MySql, but I am not sure how I get it running on startup. On Mandrake you could chose what to run on startup, but with Debian it seems that this should be set up manually ?

mardanian 03-07-2004 11:18 PM

check it whether is it running or not by

ps -ef|grep mysqld

enjoy :)

jriis 03-08-2004 01:13 AM

Hi

It is not running. What I am looking for is how I get it to run on start up, either through Inetd og standalone.

thanks

pipio 03-08-2004 08:32 AM

Try dpkg-reconfigure mysql

restless 03-10-2004 01:27 PM

if it's installed then try:

/etc/init.d/mysql start


or you can try to install webmin.. easy managment program.. (www.webmin.com)

twantrd 03-12-2004 02:03 AM

How did you install mysql? Source or apt-get?

1. You probably installed it via source because if you installed it via 'apt-get' then it would've already added a start script in your run level. If you want to start it during boot up, then create a symbolic link (soft link) in your run level (/etc/rcX.d)

-twantrd

jogurt666 03-12-2004 07:09 AM

well i've installed MySQL from source files, but there is one problem with it. namely when i type /usr/local/mysql/bin/mysqld -uroot , it starts mysql server, but it blocks the screen (or terminal). there is no problem when it is run after starting xserver, because you can easily close the terminal emulator window, but when you run it in text mode, it blocks whole screen. of course you may have more screens (tty's) configured, but if you don't, you cannot restore that screen even by pressing Ctrl+C. if you run it during the system startup it'll stop it after starting mysql demon.

jriis 03-16-2004 12:37 AM

Hi, I got it running now. I did what Pipio suggested and it works. Thanks.

pipio 03-16-2004 12:20 PM

I'm glad that I could be helpfull.

Have fun!


All times are GMT -5. The time now is 02:05 PM.