Ruby on Rails
Friday, July 2, 2010
Following info would help to know on giving you an idea of what to try next:
What OS are you on?
How did you install Mysql?
Is Mysql service running?
Copy your database.yml
On 2 July 2010 11:42, Dave Digital <lists@ruby-forum.com> wrote:
I'm trying to run " rake db:migrate " and im getting an error back:
------------------------------------------------------------------------
C:\wamp\www\demoproject>rake db:migrate
(in C:/wamp/www/demoproject)
rake aborted!
Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
(`version`
varchar(255) NOT NULL) ENGINE=InnoDB
(See full trace by running task with --trace)
------------------------------------------------------------------------
Something is definitely wrong because when I try to run "
script/dbconsole " i get an error also
------------------------------------------------------------------------
C:\wamp\www\demoproject>ruby script/dbconsole
Couldn't find database client: mysql, mysql5. Check your $PATH and try
again.
------------------------------------------------------------------------
I have been fighting to get RoR installed for almost 2 weeks and my
patience and time is running low. This is as bad as when I first
installed apache, mysql and php on my system 7 years ago. I would gladly
pay for an installer that just made everything work!
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment