[Rails] please help: having problem with the scaffold commad, mysql.

bbqbaker helpme at helpme.org
Sun Feb 26 08:33:21 GMT 2006


i just recently purchase agile web dev book about ruby on rails and 
going through the whole project.  well i am now stuck on creating the 
scaffold. I have been messing with settings for awhile now. here is the 
error:

koloa at ubuntu:/var/www/depot$ ruby script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
identical app/models/product.rb
identical test/unit/product_test.rb
identical test/fixtures/products.yml
No such file or directory - /tmp/mysql.sock

////////////////////////////////////////////////////////

now i have been searching the forums and google but getting even more 
confused. what is the difference between mysql.sock and mysqld.sock? is 
this file created when mysql starts?

does mysql port number have to be the same that my RoR site is 
configured to? example my RoR site is localhost:3000, do I have to go 
into the mysql conf file and change the default 3203(or something) to 
3000? thank you for the help!!!!!!!!!!!!!

-- 
Posted via http://www.ruby-forum.com/.


More information about the Rails mailing list