ruby on rails - mysql server not working -


i working on rails , using mysql database. working correctly , of sudden cannot connect database anymore.

mysql config:

  default: &default     adapter: mysql2     encoding: utf8     pool: 5     username: root     password: root1214     socket: /var/run/mysqld/mysqld.sock 

when type mysql -u root -p, getting prompt saying enter password. though entered correct password getting following error.

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


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -