Ruby on Rails MYSQL error Access denied for user 'root@localhost?

Seems like your user cannot connect to the mysql DB, try this commands in your console mysql -u root -p and when prompted give the password as 'admin if this is possible then you should be good to go cheers sameera.

Seems like your user cannot connect to the mysql DB, try this commands in your console mysql -u root -p and when prompted give the password as 'admin' if this is possible then you should be good to go cheers sameera.

The answer is in your question > MYSQL error Access denied for user 'root@localhost' Apply root user with admin password to your group_chat_development MySQL database update It occurs to me that you may not wish to be using msQL at all for your dev and test databases in which case change you database. Yml file test and development settings to # SQLite version 3. X # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3 database: db/development.

Sqlite3 pool: 5 timeout: 5000 # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. Test: adapter: sqlite3 database: db/test.

Sqlite3 pool: 5 timeout: 5000 If you do not know how to use MySQL tools then you should get used to using them very soon as you most likely will need them in your production server environment You will find links to the relevant version on MySQL that you are using here http://dev.mysql.com/doc/ Use MySQL Administrator to set your user permissions.

Wanted to get started with Ruby on Rails so I installed instant rails and set up a mysql password. Problem is now I can't get access to phpmyadmin. When I used to use XAMPP after setting a password instead of taking me directly within phpmyadmin (as it did without a password) it took me to the login screen instead.

With instant rails that's not the case. Anyone had this problem when they first set a mysql password and using the instant rails package?

Seems like your user cannot connect to the mysql DB, try this commands in your console.

The password is wrong for the root user in your config/database. Yml file. You can always use the mysqladmin command to change the root user's password if you forgot it.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions