I have created a db.properties.override but same error occurs On Sun, Oct 28, 2012 at 8:23 PM, Alex Huang <[email protected]> wrote:
> If I'm not mistaken from my limited knowledge of pom, you can set a > db.properties.override. If that file is there, it will use this file > instead. In there, you should be able to specify a remote mysql server. > > --Alex > > > -----Original Message----- > > From: Charles Moulliard [mailto:[email protected]] > > Sent: Sunday, October 28, 2012 9:30 AM > > To: [email protected] > > Subject: Why do we need mysql server on the dev machine > > > > Hi, > > > > When building the project cloudstack-4.1.0-SNAPSHOT > > ( https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+de > > vcloud+environment+setup), > > I get the following exception : > > > > mvn -P developer -pl developer -Ddeploydb > > > > [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. Connection refused [ERROR] > > > > As utils/conf/db.properties file specifies to use localhost > > (db.cloud.host=localhost), does that means that MySQL should also be > > installed on the development machine ? > > > > Regards, > > > > -- > > Charles Moulliard > > Apache Committer / Sr. Enterprise Architect (RedHat) Twitter : > @cmoulliard | > > Blog : http://cmoulliard.blogspot.com > -- Charles Moulliard Apache Committer / Sr. Enterprise Architect (RedHat) Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
