Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B9567D04E for ; Mon, 29 Oct 2012 11:51:11 +0000 (UTC) Received: (qmail 37216 invoked by uid 500); 29 Oct 2012 11:51:11 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 37186 invoked by uid 500); 29 Oct 2012 11:51:11 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 37166 invoked by uid 99); 29 Oct 2012 11:51:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 11:51:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ch007m@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2012 11:51:04 +0000 Received: by mail-vb0-f47.google.com with SMTP id ez10so5016402vbb.6 for ; Mon, 29 Oct 2012 04:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=hxN4W6Dv1FOOofvxoJDEa/S/z8dXsA54U9PXwBdEdRs=; b=sWr/2BhTMdJWxNMXeawS6+S5JizypoZTJSXYbUbIYFOUY92Onk31tOMLephOopnn5G R1mYEmr/n+kB3c+bOh/3zvoj1XAUzViu+XVoLGEdSFzt0R+7j3tJHvytUi0tXROyPm92 bVv0Zrexhpql8V0ETAKFEPtrdSkvSunIiFXtaMxj0BagtRlh+ILtsk2UwVB54emyuQa9 aG0qYgwsIEQy0snRhMwX2rLdP0sjZ5ukCBAle/ibs8Nq27vM9qCoJsyY4iZN71YaR4Gl YjLAMpkdJoS5Slnb953dz5fmkUt1WiRa5Pkgj5VnQ0cI8Xr2ad1dTZ4LFUVU5eiLazET LF9g== MIME-Version: 1.0 Received: by 10.52.77.101 with SMTP id r5mr38491585vdw.25.1351511443657; Mon, 29 Oct 2012 04:50:43 -0700 (PDT) Received: by 10.58.54.209 with HTTP; Mon, 29 Oct 2012 04:50:43 -0700 (PDT) In-Reply-To: <5D547939-2876-4CC8-A26B-733E702322B4@citrix.com> References: <4A435B35-2E14-4397-A35E-0DEBD3CAA69D@citrix.com> <5D547939-2876-4CC8-A26B-733E702322B4@citrix.com> Date: Mon, 29 Oct 2012 12:50:43 +0100 Message-ID: Subject: Re: Why do we need mysql server on the dev machine From: Charles Moulliard To: cloudstack-users@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf307abd9382532104cd314724 X-Virus-Checked: Checked by ClamAV on apache.org --20cf307abd9382532104cd314724 Content-Type: text/plain; charset=ISO-8859-1 I use git master of CloudStack and maven 3.0 If I try to connect on mysql db on DevCloud VM with parameters provided in db.properties, I cannot connect root@devcloud:~# mysql -h 192.168.56.2 -u cloud -p cloud Enter password: ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.56.2' (111) On Mon, Oct 29, 2012 at 12:45 PM, Rohit Yadav wrote: > Hi Charles, > > On 29-Oct-2012, at 5:09 PM, Charles Moulliard wrote: > > > 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 ? > > No changes since Friday, as far as I know 4.0 is frozen and tagged. > > But I think you're confusing devcloud with 4.0 branch which works with ant > and things described on the 4.0 release test procedure wiki. > You need to checkout master if you want to work with maven as they depend > on master. > > I'm not sure, so I'll test and see if there is something that's failing on > master using maven. > > Regards. > > > > > > Regards, > > > > Charles > > > > On Mon, Oct 29, 2012 at 11:05 AM, Rohit Yadav >wrote: > > > >> > >> On 29-Oct-2012, at 2:35 PM, Charles Moulliard 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 > >> > >> > >> Regards. > >> > >>> > >>> On Sun, Oct 28, 2012 at 8:23 PM, Alex Huang > >> 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: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 > >>>> > >>> > >>> > >>> > >>> -- > >>> 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 --20cf307abd9382532104cd314724--