[ 
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:<dbpassword>@localhost 
> --deploy-as=root:<password>}}
> 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

Reply via email to