MySQL Forums
Forum List  »  Ruby

'access is denied' - trying to load schema
Posted by: Eu reka
Date: December 21, 2008 01:23PM

I can't load my schema into my rails production DB. I'm hoping this is a simple problem.

- I Created mysql database called batman_production.

- I Created a user Joker with ALL privileges granted to batman_production.

- I can log into mysql with -u Joker and the correct password. I can see 'batman_production' when I type 'show databases;'.

- I then exit mysql and go into my rails app folder and run:

'rake db:schema:load RAILS_ENV=production'.
I then get 'Access denied for user 'Joker'@'localhost' to database 'batman_production'.

I double-checked the database.yml file and it has Joker's credentials.

I believe the webhost I'm running these commands on has mysql 4.1.

Any suggestions on where to proceed from here? Thank you!

Options: ReplyQuote


Subject
Written By
Posted
'access is denied' - trying to load schema
December 21, 2008 01:23PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.