Azimuth,
BTW, the data in the products table was inserted by the generated Rails "Depot" application, i.e. I entered the data in the app and the app populated the table. But I guess you surmised that.
Regards,
Richard
Azimuth: Below is the generic message I posted on a couple of other news groups/lists:
Hi All,
Problem finally solved!
The original question was:
* Ran:
[snip]\work\depot>ruby script/generate scaffold Product Admin
* Got:
#28000Access denied for user 'root'@'localhost' (using password...
Hi Azimuth,
Thanks again for your contined help on this problem. Below is the schema within the code scope. A follow-up message will tell you the work-around I found. I'd still like to have a "real" solution.
Regards,
Richard
Show database scheme
mysql> show databases...
Hi Azimuth,
> Hope this helps.
It sure did!!!! Thanks, a lot. You've kept me from tearing out all my hair! But I'm not out of danger yet. Now I got the message:
error Before updating scaffolding from new DB schema, try creating a table for your model (Product)
But I do have a...
Hi All,
I tried to develop my own Rails app following the book "Agile Web Development with Rails" in a generalway, but got stuck. So I opted to try to follow the book faithfully to
see if I could get its example working.
I'm stuck on the command:
[snip]\work\depot>ruby script/generate...
Hi KarveR,
Thanks for your response. Unfortunately, you didn't notice that I'm running on WindowsXP, so the unix stuff is only partially relevant.
In the meantime, I've been playing around with MySQl and found the file/folders that hold the databases. I did find a repair utility, but it...
Hi All,
I'm running MySQL 5.0.15-nt running over WinXP-Pro/SP2. The following group of commands and responses suggests to me that my installation of MySQL is corrupted. Is there anyway I can get rid of the offending database "depot_test" short of un/reinstalling MySQL?
Thanks in Advance...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.