MYSQL error in rails

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 … bmySQL.dll

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

Reply to me ! If u get rid off 🙂

btw-: i m using rails 2.2.2 on windows …

no laughs please 😉

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s