Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A463AD106 for ; Wed, 26 Sep 2012 11:36:14 +0000 (UTC) Received: (qmail 4576 invoked by uid 500); 26 Sep 2012 11:36:14 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 4316 invoked by uid 500); 26 Sep 2012 11:36:09 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 4267 invoked by uid 99); 26 Sep 2012 11:36:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Sep 2012 11:36:07 +0000 Date: Wed, 26 Sep 2012 22:36:07 +1100 (NCT) From: "Rohit Yadav (JIRA)" To: cloudstack-dev@incubator.apache.org Message-ID: <948238269.127844.1348659367653.JavaMail.jiratomcat@arcas> In-Reply-To: <1836230660.124852.1348604408043.JavaMail.jiratomcat@arcas> Subject: [jira] [Resolved] (CLOUDSTACK-199) cloud-setup-databases fails with a @ in the root DB password MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohit Yadav resolved CLOUDSTACK-199. ------------------------------------ Resolution: Fixed > cloud-setup-databases fails with a @ in the root DB password > ------------------------------------------------------------ > > Key: CLOUDSTACK-199 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-199 > Project: CloudStack > Issue Type: Bug > Affects Versions: pre-4.0.0 > Environment: CentOS 5.7 > Reporter: Clay B. > Assignee: Rohit Yadav > Priority: Minor > > Running CloudStack-oss-3.0.2-1-rhel6.2 following the [setup guide|http://download.cloud.com/releases/3.0.0/CloudStack3.0.0-3.0.2QuickInstallGuide.pdf], I got to the following step: > {{# cloud-setup-databases cloud:@localhost --deploy-as=root:}} > I ran: > {{$ sudo cloud-setup-databases cloud:'foo@2012'@localhost --deploy-as=root:'foo%bar'}} > And had the following output and error: > {code} > Mysql user name:cloud [ OK ] > Mysql user password:foo [ OK ] > Mysql server ip:2012@localhost [ OK ] > Mysql server port:3306 [ OK ] > Mysql root user name:root [ OK ] > Mysql root user password:foo%bar [ OK ] > Checking Cloud database files ... [ OK ] > Checking local machine hostname ... [ OK ] > Checking SELinux setup ... [ OK ] > Detected local IP address as 172.XX.X.XXX, will use as cluster management server node IP[ OK ] > Preparing /etc/cloud/management/db.properties [ OK ] > Applying /usr/share/cloud/setup/create-database.sql > We apologize for below error: > *************************************************************** > Encountering an error when executing mysql script > ---------------------------------------------------------------------- > table: > /usr/share/cloud/setup/create-database.sql > Error: > ERROR 2005 (HY000): Unknown MySQL server host '2012@localhost' (1) > Sql parameters: > {'passwd': 'foo%bar', 'host': '2012@localhost', 'user': 'root', 'port': 3306} > ---------------------------------------------------------------------- > {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira