Openshift, can't connect to Mysql from console -


i'm connected via ssh openshift server. type: env | grep mysql

openshift_mysql_db_port=42361 openshift_mysql_db_host=xxxxxxx-mydomain.rhcloud.com openshift_mysql_db_password=mypassword openshift_mysql_path_element=/opt/rh/mysql55/root/usr/bin openshift_mysql_db_gear_uuid=xxxxxxxxx openshift_mysql_db_username=myusername openshift_mysql_db_url=mysql://myusername:mypassword@xxxxxx-mydomain.rhcloud.com:42361/ openshift_mysql_ld_library_path_element=/opt/rh/mysql55/root/usr/lib64 openshift_mysql_db_gear_dns=xxxxxxx-mydomain.rhcloud.com 

then, run

mysql -u $openshift_mysql_db_username -h $openshift_mysql_db_host -p $openshift_mysql_db_port -p 

and type exact same password... error: error 1045 (28000): access denied user 'myusername'@'10.169.187.123' (using password: yes)

i can't access mysql , application shows 503 unavailable error (i guess reason).

i don't want lose data stored inside, change password or something.. since can't connect mysql, can't change psw this:

\> set password 'myusername'@'10.169.187.123' = password('newpassword'); 

have tried accessing database via phpmyadmin page? should available under http://.rhcloud.com/phpmyadmin. credentials accessing page given when create mysql cartridge. default username 'admin'. if don't have admin password anymore, of course out of luck there.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -