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 ? |
check it whether is it running or not by
ps -ef|grep mysqld enjoy :) |
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 |
Try dpkg-reconfigure mysql
|
if it's installed then try:
/etc/init.d/mysql start or you can try to install webmin.. easy managment program.. (www.webmin.com) |
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 |
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.
|
Hi, I got it running now. I did what Pipio suggested and it works. Thanks.
|
I'm glad that I could be helpfull.
Have fun! |
All times are GMT -5. The time now is 02:05 PM. |