brazerzkidaimatter.blogg.se

Mac mysql server wont start
Mac mysql server wont start











No error reported by AppleScript but MySQL server is still not loaded according to ps command ps aux | grep mysql

Mac mysql server wont start password#

Try to run this script instead do shell script "apachectl start" password "mypassword" with administrator privileges do shell script "/usr/local/mysql/bin/mysqld_safe > /dev/null 2>&1 &" password "mypassword" with administrator privileges

mac mysql server wont start

Any suggestion will be highly appreciated. Would anybody tell what's wrong with my script or I've missed something. The apple script result says: "110428 11:03:06 mysqld_safe Logging to '/usr/local/mysql/data/'.ġ10428 11:03:06 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/dataġ10428 11:03:06 mysqld_safe mysqld from pid file /usr/local/mysql/data/ ended" However, I can't simply do the same for starting mysql server do shell script "/usr/local/mysql/bin/mysqld_safe" password "mypassword" user name "ngocminh" with administrator privileges

mac mysql server wont start

This is the output from running sudo /user/local/mysql/bin/mysql_safe: sudo /usr/local/mysql/bin/mysqld_safeġ10428 09:52:03 mysqld_safe Logging to '/usr/local/mysql/data/'.ġ10428 09:52:03 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/dataĪpache2 server can be started using the command sudo apachetl start, then it could be implemented using an AppleScript script like this: do shell script "apachectl start" password "mypassword" user name "ngocminh" with administrator privileges I can start the server using PreferencePane, using command line sudo /usr/local/mysql/bin/mysqld_safe but cannot use the same command within AppleScript. I've sucessfully installed MySQL server (5.5.11) on my MAC Snow Leopard.











Mac mysql server wont start