jollyroger
Technical User
Hi
Strange or not this is the problem I am having (it is not a problem but is to my method of wanting to do something!!!).
I want to start MySQL without having to press enter after having run the "bin/mysqld_safe --user=mysql &" command.
This may seem silly but I am running the command to start the database remotely using ssh, thus "ssh <machinename> /usr/local/bin/sudo /sbin/init.d/mysqld start" (prior to a backup stopping it is fine naturally because I am doing a kill -15 on the pid). However my SSH Shell created here wants me to press enter (thus this does not return to the prompt and therefore it just hangs).
Even if I enter the command to start and stop the Database locally I still have to press "Enter" after running the script to drop me back to the prompt.
Any suggestions would be welcome and tried.
Strange or not this is the problem I am having (it is not a problem but is to my method of wanting to do something!!!).
I want to start MySQL without having to press enter after having run the "bin/mysqld_safe --user=mysql &" command.
This may seem silly but I am running the command to start the database remotely using ssh, thus "ssh <machinename> /usr/local/bin/sudo /sbin/init.d/mysqld start" (prior to a backup stopping it is fine naturally because I am doing a kill -15 on the pid). However my SSH Shell created here wants me to press enter (thus this does not return to the prompt and therefore it just hangs).
Even if I enter the command to start and stop the Database locally I still have to press "Enter" after running the script to drop me back to the prompt.
Any suggestions would be welcome and tried.