Hi Rohit, I'm a bit surprised that the procedure fails as it was working perfectly last friday as explained here ( https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+devcloud+environment+setup) with DevCloud VM. Do you know what has changed in the code ?
Regards, Charles On Mon, Oct 29, 2012 at 11:05 AM, Rohit Yadav <[email protected]>wrote: > > On 29-Oct-2012, at 2:35 PM, Charles Moulliard <[email protected]> wrote: > > > I have created a db.properties.override but same error occurs > > Check that > - you're correct host, password settings; > - your db host, db server is reachable > - you've granted access for that user for all hosts, i.e root@'%' has > access > - you can try to pass host, password, etc. via -D to mvn <args> > > > Regards. > > > > > 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 > > -- Charles Moulliard Apache Committer / Sr. Enterprise Architect (RedHat) Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
