cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <rohit.ya...@citrix.com>
Subject RE: Why do we need mysql server on the dev machine
Date Sun, 28 Oct 2012 19:38:27 GMT
Updated in https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven#BuildingwithMaven-DeployingDatabase

Another shortcut would be to pass any vars ${} that are defined or used in developer/pom.xml
using -Dvar=value, for example
mvn -P developer -pl developer -Ddeploydb -Ddb.cloud.host=10.20.30.40 -Ddb.cloud.port=9000

Thanks for bringing the issue.

> -----Original Message-----
> From: Charles Moulliard [mailto:ch007m@gmail.com]
> Sent: Sunday, October 28, 2012 9:30 AM
> To: cloudstack-users@incubator.apache.org
> 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

Mime
View raw message