本地能正常访问的呢,但是创建的时候就一直是这个错误


------------------ 原始邮件 ------------------
发件人: "hongtu.z...@gmail.com";<hongtu.z...@gmail.com>;
发送时间: 2015年2月4日(星期三) 中午12:33
收件人: "users-cn"<users-cn@cloudstack.apache.org>; 

主题: Re: 回复: Ubuntu上安装的cloudstack但是无法创建数据库



看上去像是MySQL 登陆认证失败
你试试 mysql -uroot -p<password>
看本地能不能访问MySQL



臧宏图
Email:hongtu.z...@gmail.com
 
发件人: 朱益萍
发送时间: 2015-02-04 10:39
收件人: users-cn
主题: 回复: RE: Ubuntu上安装的cloudstack但是无法创建数据库
这个是报错的部分:
We apologize for below error:
***************************************************************
Encountering an error when executing mysql script
----------------------------------------------------------------------
table:
/usr/share/cloudstack-management/setup/create-schema-premium.sql
 
 
Error:
ERROR 1046 (3D000) at line 285: No database selected
 
 
 
 
Sql parameters:
{'passwd': '123456', 'host': 'localhost', 'user': 'root', 'port': 3306}
----------------------------------------------------------------------
 
 
***************************************************************
Please run:
 
 
    cloud-setup-database -h
 
 
for full help
root@manage:~#‍
 
 
 
------------------ 原始邮件 ------------------
发件人: "hongtu.z...@gmail.com";<hongtu.z...@gmail.com>;
发送时间: 2015年2月4日(星期三) 上午10:33
收件人: "users-cn"<users-cn@cloudstack.apache.org>; 
"yuan-...@hbis.com.cn"<yuan-...@hbis.com.cn>; 
 
主题: Re: RE: Ubuntu上安装的cloudstack但是无法创建数据库
 
 
 
邮件组是不支持图片的,还是贴文本吧
 
 
 
hongtu.z...@gmail.com
发件人: YUAN, GUI -HBIS
发送时间: 2015-02-04 10:31
收件人: users-cn@cloudstack.apache.org
主题: RE: Ubuntu上安装的cloudstack但是无法创建数据库
图片看不见,
不知道是被BAN了,还是这个邮件组不支持。
From: 朱益萍 [mailto:874413...@qq.com] 
Sent: Wednesday, February 04, 2015 10:21 AM
To: cloudstack
Subject: Ubuntu上安装的cloudstack但是无法创建数据库
Ubuntu作为管理节点,在管理机上安装mysql使用cloudstack-setup-databases 
cloud:<dbpassword>@localhost --deploy-as=root:<password> 创建数据的时候下面这个错误
‍
Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and 
may be protected
by law against any unauthorized use.  If you have received this e-mail by 
mistake or have
reason to believe that you are not the intended recipient, please notify the 
sender by reply
e-mail as soon as possible and delete it from your computer system immediately 
thereafter.
If you are not the intended recipient, you must not copy this e-mail or 
attachment or disclose
the contents to any other person.  While we have made every effort to keep our 
network virus free,
we take no responsibility for any computer virus which might be transferred by 
way of this e-mail

回复