>>> Rails is not selecting the database before it issues sql commands.
>>> get a "No database selected: ..." error when trying to do anything.

http://www.student.cs.uwaterloo.ca/~jouellet/ruby/database.yml
http://www.student.cs.uwaterloo.ca/~jouellet/ruby/tableDefinitions.sql

i think this is the command i used to create the user 'jay' in mySql
GRANT ALL PRIVILEGES ON *.* TO 'jay'@'%';

Well, all that looks in order, you might try to give the 'jay' user a password (even a trivial one), and put that in the database.yml.

If that doesn't work, I'm not sure. Make sure you can do with the command line mysql client what you are asking Rails to do (i.e. connect to the database as user jay).

Good luck.

--
Caleb Phillips
IT Specialist
Small White Cube
_______________________________________________
PDXRuby mailing list
[email protected]
IRC: #pdx.rb on irc.freenode.net
http://lists.pdxruby.org/mailman/listinfo/pdxruby

Reply via email to