mysql - error in database connection in cloud9.io -


this type of questions have been asked many times before.i have tried every answer can't figure out problem.

i having problem in mysql database connectivity in cloud9.io environment in sails js project.

steps

1)mysql-ctl start  2)phpmyadmin-ctl install 

it worked , opened phpmyadmin page me.i created db there.

3)mysql-ctl cli 4)mysql> \r    

here's problem giving

connection id:1  current database: *** none  

there no error in console while running sails lift.it gives error on executing queries.i have tried following links related problem no use.

access denied user 'root'@'localhost' while attempting grant privileges. how grant privileges?

error 1045 (28000): access denied user 'root'@'localhost' (using password: no)

error 1045 (28000): access denied user 'root'@'localhost' (using password: yes)

and few more.


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 -