HELP!!! SQL IN BOOTLOCAL.SH LOCKS COMPUTER


Forum: Networking
Topic: HELP!!! SQL IN BOOTLOCAL.SH LOCKS COMPUTER
started by: arew264

Posted by arew264 on May 08 2005,17:02
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.

Posted by arew264 on May 08 2005,19:20
Ok, let me change my request a bit here. Can someone help me get it to load to the desktop?
Posted by arew264 on May 08 2005,23:50
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.
Posted by arew264 on May 09 2005,00:21
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!

Posted by mikshaw on May 09 2005,02:57
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.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.