[Instantrails-users] Connection problems to DB using password
mortonda at dgrmm.net
Sun Jul 2 17:39:15 EDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Al Olese wrote:
> Hello, I am using InstantRails 1.3a and I am having trouble. If I try to
> enable passwords in database.yml for the mysql account, I get a "Before
> updating scaffolding from new db schema, try creating a table for your
> model" message if I try to do a simple script/generate scaffold command. I
> get the same message if I use a bogus password, but if I disable the
> password (and do the same in mysql of course) things work as normal again...
> any ideas?
> I can use the standard mysql client to access the database when the password
> is set so there is nothing wrong with the privileges.
Ok, now that I have a windows box running again.... :)
How did you go about changing the password? That error message about
"mysql.user table is not updated to new password format" is the problem. I think
you said you had mysql 4? what steps did you take to change the password in mysql?
Maia Mailguard - http://www.maiamailguard.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Instantrails-users