| When i tried to setup and migrate some objects in the MySQL DB |
| with Ruby on Rails. |
| While executing the command rake db:migrate ,i got the following error: |
| 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) |
| Using rake db:create database succesfully created. |
| |
| |
| Solution to get rid of this issue |
| Step -1 To get rid of the issue copy the libmySQL.dll |
| Step -2 Paste it in C:\Ruby\bin of yours |
No comments:
Post a Comment