Community
 
 
 

CloudPlatform 3.x

팔로워 343명
 
Avatar
Pankaj Paliwal

HELP cant access cloudstack interface, mysql error.

Avatar

HELP cant access cloudstack interface, mysql error.

Hello everyone, iam a newby with cloudstack.

I want to access mine cloudstack interface with my password and admin username. But everytime i get an error with invalid username and password. My cloud-management is running and so does my mysql.

Is there any manner to change my password of the cloudstack interface within the server that im running?

Iam trying: root@virt09:~# cloud-setup-databases cloud:abbas123@localhost --deploy-as=root:hallo

This is the result:
Mysql user name:cloud [ OK ]
Mysql user password:abbas123 [ OK ]
Mysql server ip:localhost [ OK ]
Mysql server port:3306 [ OK ]
Mysql root user name:root [ OK ]
Mysql root user password:hallo [ OK ]
Checking Cloud database files ... [ OK ]
Checking local machine hostname ... [ OK ]
Checking SELinux setup ... [ OK ]
Detected local IP address as 169.254.0.1, 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 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Thanks for advance!!


hallo hallo MEMBERS
댓글 3개
0

댓글을 남기려면 로그인하세요.

 
 

Previous 댓글 3개

Avatar
Pankaj Paliwal
Avatar

HELP cant access cloudstack interface, mysql error.

Is your mysql installation's root password set as "hallo"?


Somesh Naidu CITRIX EMPLOYEES
댓글 작업 고유 링크
Avatar
Pankaj Paliwal
Avatar

Thanks for your reply!!!

No it was not.. With the correct password i get this:

root@virt09:~# cloud-setup-databases cloud:abbas123@localhost --deploy-as=root:abbas123
Mysql user name:cloud [ OK ]
Mysql user password:abbas123 [ OK ]
Mysql server ip:localhost [ OK ]
Mysql server port:3306 [ OK ]
Mysql root user name:root [ OK ]
Mysql root user password:abbas123 [ OK ]
Checking Cloud database files ... [ OK ]
Checking local machine hostname ... [ OK ]
Checking SELinux setup ... [ OK ]
Detected local IP address as 169.254.0.1, will use as cluster management server node IP[ OK ]
Preparing /etc/cloud/management/db.properties [ OK ]
Applying /usr/share/cloud/setup/create-database.sql [ OK ]
Applying /usr/share/cloud/setup/create-schema.sql [ OK ]
Applying /usr/share/cloud/setup/create-database-premium.sql [ OK ]
Applying /usr/share/cloud/setup/create-schema-premium.sql [ OK ]
Applying /usr/share/cloud/setup/server-setup.sql [ OK ]
Applying /usr/share/cloud/setup/templates.sql [ OK ]
Applying /usr/share/cloud/setup/create-index-fk.sql [ OK ]
Processing encryption ... [ OK ]
Finalizing setup ... [ OK ]

CloudStack has successfully initialized database, you can check your database configuration in /etc/cloud/manage ment/db.properties

Still cant login to my cloudstack :(

Thanks!
Akbar


hallo hallo MEMBERS
댓글 작업 고유 링크
Avatar
Pankaj Paliwal
Avatar

What credentials do you use when you login to Cloud Platform?

The default credentials are admin/password.


Somesh Naidu CITRIX EMPLOYEES
댓글 작업 고유 링크

Top Contributors