Guest Posted October 15, 2011 Share Posted October 15, 2011 I am trying to make my mysql setup portable and can start it with my bash script like "./mysqld myoptions" doing that everything works fine but it runs and nothing after that in the bash script runs until i stop mysql. How can I launch this and have it run in the background instead of in the bash script itself? Preferably I would still like to see the startup output to make sure it starts properly. Link to comment https://forums.phpfreaks.com/topic/249167-start-mysqld-directly/ Share on other sites More sharing options...
trq Posted October 16, 2011 Share Posted October 16, 2011 Your question has more to do with Bash than Mysql. ./mysqld myoptions & Really though, you should look at your distros start up scripts. These are usually stored in /etc/init.d. Link to comment https://forums.phpfreaks.com/topic/249167-start-mysqld-directly/#findComment-1279655 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.