Networking :: HELP!!! SQL IN BOOTLOCAL.SH LOCKS COMPUTER
Ok, I put mysql into my bootlocal because I need to start it up and had no other way I knew to do it. Now when my computer boots up, I ger the configmation that mysql is ready, etc, and then it just sits there with a flashing cursor. It did this in bash too. How do I get mysqld to:
not stop the computer loading, and
be loaded at startup?
I would really appreciate any help you can give my as my computer is unuseable right now.
Ok, let me change my request a bit here. Can someone help me get it to load to the desktop?
After a long time of pondering and hair loss, I managed to move bootlocal.sh somewhere else, boot into DSL, edit bootlocal.sh, and move it back. I would now like to know how I would go about geting MySQL to start at start up without hanging the system after saying it's ready. Any help appreciated greatly.
Ok, I looked back at the mysql website and started mysql in bootlocal.sh with
sudo mysqld --user=root &
instead of:
sudo mysqld --user=root
and that did it. It's a good thing I'm so smart that I don't read directions!
Always...ALWAYS start apps in the background when they are run from startup scripts...otherwise the script waits for the program to end before it continues itself. There are a few exceptions, such as applications that run for just a second and then close, or daemons which are configured to automatically run in the background.
Next Page...
original here.