Forum: Ruby on Rails problem with database.yml moving from 0.13.0 to 0.14.4

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B78b4458991fb48b4cc0e9defb488730?d=identicon&s=25 sfmcfar (Guest)
on 2006-04-26 21:07
(Received via mailing list)
Hi,

I'm upgrading from 0.13.0 to 0.14.4, and I'm having trouble with my
database
authentication.  Even though the entries in my database.yml are correct,
I
get the
following message when trying to do a ruby script/generate scaffold
myClass...

Access denied for user: '@localhost to database ''

Why is the username and database name showing up as blank?  Like I said,
I've checked my
enteries in database.yml a dozen times and they are absolutely correct.

Thanks in advance,

-stan

--
View this message in context:
http://www.nabble.com/problem-with-database.yml-mo...
Sent from the RubyOnRails Users forum at Nabble.com.
0ca6dacbed829354319d844346cbd5f3?d=identicon&s=25 Dan Sketcher (Guest)
on 2006-04-27 01:31
(Received via mailing list)
Sounds like you're using MySQL and although I'm not a MySQL user I
seem to recall a change about then with having to add the port into
the database.yml even if it's using the default of 3306 otherwise it
tries to connect via unix socket.

hth,
Dan
B78b4458991fb48b4cc0e9defb488730?d=identicon&s=25 sfmcfar (Guest)
on 2006-04-27 01:40
(Received via mailing list)
Thx.  I'll try when I get back to work tomorrow.  Do you know if the
hash
password warning at the top of the database.yml file could have anything
to
do with it?  We're still running MySQL 4.0.x at work.
--
View this message in context:
http://www.nabble.com/problem-with-database.yml-mo...
Sent from the RubyOnRails Users forum at Nabble.com.
0ca6dacbed829354319d844346cbd5f3?d=identicon&s=25 Dan Sketcher (Guest)
on 2006-04-27 01:53
(Received via mailing list)
No idea sorry mate, that's the extent of my mysql knowledge right there
;)
This topic is locked and can not be replied to.