[serusers] Openser Admin Login Access

John Shellhouse jwshel at hotmail.com
Sun Sep 24 00:49:30 CEST 2006


Hi All,

I accessed the login/password area but I am erroring but don't know how to 
fix.  I granted all:

GRANT ALL ON openser.* TO 'openser'@'dbhost' IDENTIFIED BY 'openserrw';

and changed the database.yml to dbhost as well which allowed me to login 
when I left it the same as localhost I was not able to login at all with 
default password.

Now that I am in the login zone, I get this error:

Mysql::Error in LoginController#login

Unknown MySQL server host 'dbhost' (1)

RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace

/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:330:in 
`real_connect'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:330:in 
`connect'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:87:in 
`initialize'
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_adapters/mysql_adapter.rb:36:in 
`mysql_connection'

Plus more, but I did not want to paste it all.
Any help appreciated.

jwshel





More information about the sr-users mailing list