HELP cant access cloudstack interface, mysql error.
Is your mysql installation's root password set as "hallo"?
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!!
Is your mysql installation's root password set as "hallo"?
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
What credentials do you use when you login to Cloud Platform?
The default credentials are admin/password.
Ask, Discuss, Answer