Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: HELP!!! SQL IN BOOTLOCAL.SH LOCKS COMPUTER, I CAN"T EVEN GET TO THE DESKTOP!< Next Oldest | Next Newest >
arew264 Offline





Group: Members
Posts: 51
Joined: April 2005
Posted: May 08 2005,17:02 QUOTE

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.
Back to top
Profile PM 
arew264 Offline





Group: Members
Posts: 51
Joined: April 2005
Posted: May 08 2005,19:20 QUOTE

Ok, let me change my request a bit here. Can someone help me get it to load to the desktop?
Back to top
Profile PM 
arew264 Offline





Group: Members
Posts: 51
Joined: April 2005
Posted: May 08 2005,23:50 QUOTE

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.
Back to top
Profile PM 
arew264 Offline





Group: Members
Posts: 51
Joined: April 2005
Posted: May 09 2005,00:21 QUOTE

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!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 09 2005,02:57 QUOTE

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.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
4 replies since May 08 2005,17:02 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: HELP!!! SQL IN BOOTLOCAL.SH LOCKS COMPUTER

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code