This tiny application has been created with Automator and can be inspected to see the applescript program inside it:
on run do shell script "/usr/local/mysql/bin/mysqld_safe > /dev/null 2>&1 &" with administrator privileges do shell script "apachectl restart > /dev/null 2>&1" with administrator privileges end run
The script will try to launch MySQL by calling mysqld_safe directly, thus without the need to have the StartupItems / System Preferences components installed.
Then it will try restarting apache as well, by invoking apachectl restart.
Then it tries launching both services and displays a confirmation message that enables sending your feedback directly to the supporting team.
Check the support page http://gestix.com/go/support
Like us on facebook http://facebook.com/gestix