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
Post a Comment