[Rails] Re: ActiveRecord::ConnectionNotEstablished
I changed the gem file and succeeded with the db:create and created the
three databases only for once after that I can't use any of my mysql
database connections not only in ror applications
the message is : Access denied for user 'root'@'localhost' (using
password: YES) (Mysql::AccessDeniedError)
I am using ruby on windows
this is an example of a database connection
ActiveRecord::Base.establish_connection(
:adapter => "mysql",
:host => "127.0.0.1",
:database => "database",
:username => "root",
:password => "*********"
)
regards,
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home