[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575728#comment-13575728
 ] 

ASF subversion and git services commented on CLOUDSTACK-1226:
-------------------------------------------------------------

Commit 3e613788e97f5ca389f9cd13ad91cd1985037edb in branch refs/heads/master 
from [~bhaisaab]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=3e61378 ]

CLOUDSTACK-1226: Fix 4.1-new-db-schema.sql, use cloud before exec statements

Signed-off-by: Rohit Yadav <bhais...@apache.org>

                
> Error while running Cloudstack-setup-databases 
> -----------------------------------------------
>
>                 Key: CLOUDSTACK-1226
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1226
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Install and Setup
>    Affects Versions: 4.1.0
>            Reporter: Kiran Koneti
>            Assignee: Rohit Yadav
>            Priority: Critical
>             Fix For: 4.1.0
>
>
> When we run the Cloud-setup-databases script the below error message is 
> observed.
> "We apologize for below error:
> ***************************************************************
> Encountering an error when executing mysql script
> ----------------------------------------------------------------------
> table:
> /usr/share/cloudstack-management/setup/4.1-new-db-schema.sql
> Error:
> ERROR 1046 (3D000) at line 18: No database selected
> Sql parameters:
> {'passwd': 'password', 'host': 'localhost', 'user': 'root', 'port': 3306}
> ----------------------------------------------------------------------
> ***************************************************************
> Please run:
>     cloud-setup-database -h"
> The work around for this is edit the below file 
>  /usr/share/cloudstack-management/setup/4.1-new-db-schema.sql 
> add the use cloud; at the starting.

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