I am trying to set up mysql on a stock 64bit ubuntu AMI (micro instance, ami-548c783d). I was following the server guide mysql section.
So, I spin up a fresh instance, install glassfish successfully, and do the following using directions from the server guide:
1) sudo apt-get install mysql-server (no problem)
2) sudo netstat -tap | grep mysql (yep, works.)
3) edit the my.cnf to the correct bind-address (no problem)
4) sudo /etc/init.d/mysql restart
Upon #4, the restart, the command line _HANGS_ after the following response...
"Rather than invoking init scripts through /etc/init.d, use the service utility, e.g. service mysql restart
Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the restart utility, e.g. restart mysql"
* It is not clear by the message whether or not mysql is actually being restarted or not. Is it just a suggestion?
* What is "service" and "upstart"? Isn't init.d good enough? Why the change?
* Why is this command hanging? Anyone else see this?
Many Thanks for any help!