MYSQL error in rails

Posted on January 2, 2011

0


Recently I encountered a error in rails while using rake db:migrate

When i use rake db:migrate , i got the following error,

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)

Doing some googling i found out a solution which worked for me.

the solution is :

Step -1 To get rid of the issue copyt the libmySQL.dll from this link

http://instantrails.rubyforge.org/svn/t … bmySQL.dll

Step -2 Paste iit in C:\Ruby\bin of yours

Reply to me ! If u get rid off 🙂
Thanks

btw-: i m using rails 2.2.2 on windows …

no laughs please 😉

Advertisements
Posted in: Rails app