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:32:42 GMT
Charles, that's right what Alex advises;
just copy utils/conf/db.properties to utils/conf/db.properties.override and edit as needed.
the .override file is not tracked by git and is in .gitignore.

Regards.
________________________________________
From: Alex Huang [Alex.Huang@citrix.com]
Sent: Monday, October 29, 2012 12:53 AM
To: cloudstack-users@incubator.apache.org
Subject: RE: Why do we need mysql server on the dev machine

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: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