10

Need help for a Unix startup script

view full story
linux-howto

http://serverfault.com – I am very weak on unix shell scripting. Is there a way to create Unix shell script which will start on server boot time only, and will execute the following commands in order: # cd /mysql # ./bin/safe_mysqld --user=root & # ./support-files/mysql.server start The longer story... On a HP-UX server I've installed Mysql. However the client wanted the server to be installed in /mysql instead in /usr/local/mysql/ which is the standard location. During the last week I've been struggling to set the mysql daemon to start automatically on server boot time. I don't know what is the problem, but s (HowTos)