[
https://issues.apache.org/jira/browse/CLOUDSTACK-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575730#comment-13575730
]
ASF subversion and git services commented on CLOUDSTACK-1226:
-------------------------------------------------------------
Commit e3156a6e16cee9ffeb5d757dd8a775236127410f in branch refs/heads/4.1 from
[~bhaisaab]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-cloudstack.git;h=e3156a6 ]
CLOUDSTACK-1226: Fix 4.1-new-db-schema.sql, use cloud before exec statements
Signed-off-by: Rohit Yadav <[email protected]>
> 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