Run netstat to see if mysql is listening on 3306. If it is not, then you will probably have to restart mysql without the --skip-networking option to make sure it is listening on it.
Thanks, Abhijith -----Original Message----- From: Charles Moulliard [mailto:[email protected]] Sent: Monday, November 05, 2012 9:29 AM To: cloudstack-dev Subject: Issue during build of Cloudstack DB Hi, When I execute the following command to deploy the DB on my local MySQL server, I get this message on MacOS : [INFO] --- sql-maven-plugin:1.5:execute (drop-database) @ cloud-developer --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:18.422s [INFO] Finished at: Mon Nov 05 18:06:45 CET 2012 [INFO] Final Memory: 11M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sql-maven-plugin:1.5:execute (drop-database) on project cloud-developer: Communications link failure [ERROR] [ERROR] The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. Operation timed out I can connect without a root password to the server : MacBook:incubator-cloudstack chmoulli$ mysql -h localhost -u root -P 3306 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 44 Server version: 5.5.28 MySQL Community Server (GPL) mysql> or using cloud as username and cloud as password Does somebody knows the reason ? Regards, -- Charles Moulliard Apache Committer / Sr. Enterprise Architect (RedHat) Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
