Can any one help me with this? I think that this is soemthing quite
simple as there is quite abit traffic about this on the web and everyone
sems to figure it out. I have tried most of the solutions that I can
find. but nothing.
I have mysql 5.0.11 working on linux redhat 9. ruby is working rails
install mysql library seem to be there.
to some trying rt get mysql to install need to point the installer to
the correct mysql. I have the table created an am usein the example in
linux journal to test it out.
I am new to ruby and rails but think it may have potential for some
ideas I have.
[[email protected] Blog]$ script/generate scaffold Blog Admin
error Before updating scaffolding from new DB schema, try
creating a table for your model (Blog)
MySQL (default setup). Versions 4.1 and 5.0 are recommended.
Get the fast C bindings:
gem install mysql
(on OS X: gem install mysql – --include=/usr/local/lib)
And be sure to use new-style password hashing:
Connect on a TCP socket. If omitted, the adapter will connect on
domain socket given by socket instead.
Warning: The database defined as ‘test’ will be erased and
re-generated from your development database when you run ‘rake’.
Do not set this db to the same as development or production.