Mysql::Error: query: not connected

MySql 5.1 Client가 Rails 2.3에서 작동하지 않고 아래 에러 만들 때

 libmySQL.dll받아 rubyhome/bin폴더에 추가

 

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)

 

[1] http://forums.aptana.com/viewtopic.php?f=20&t=7563&p=27407&hilit=libmysql.dll#p27407

[2] http://stackoverflow.com/questions/1343500/ruby-on-rails-connection-problem

[3] libmySQL.dll :

http://instantrails.rubyforge.org/svn/trunk/InstantRails-win/InstantRails/mysql/bin/libmySQL.dll

댓글

이 블로그의 인기 게시물

Protopage.com

Android, MediaPlayer IllegalStateException 상황