Problem Mysql Access Denied x(


#1

Hi everyone,
Ive get this probleme :
Erreur : SQLSTATE[28000] [1045] Access denied for user 'ubuntu'@'localhost' (using password: NO)
But my credentials are good. Why?


#2

Your username should be your Cloud9 username, not ubuntu. If you still can’t login you can use mysql-ctl install to set it up from scratch and it will set up default settings that should work. Or you can use mysql-ctl cli to access the CLI and run commands manually.


#3

Hi Tim, I tried reinstalling mysql-ctl and this did not work for me. I was concerned about the reinstall prompt so I dumped the bd to a backup just to be on the safe side. I still get the same error when trying to run mysql ctl-cli.

Note that I am working on software that I developed which is installed in someone else’s workspace where I have RW privileges, not sure if that makes a difference.

Accessing the db works fine from node using the defined globals, but the client is giving me trouble.

Any further suggestions?