Problem: while running db:migrate, i got the following error in Vista Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB running: rails 2.3.3 ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] Server version: 5.1.37-community MySQL Community Server (GPL) Solution: the following posts resolved the issue. http://halyph.blogspot.com/2009/08/rails-23-migration-issues-with-mysql_26.html
AlexOnRails
2009-Sep-03 15:30 UTC
Re: Rails 2.3.3 / MySql 5.1.37 / Ruby 1.8.6 - Migration issue.
It worked!! Spent some hours trying to figure this one out. Thanks a lot! On Sep 1, 5:41 pm, nedu <ned...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Problem: > while running db:migrate, i got the following error in Vista > > Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` > (`version` > varchar(255) NOT NULL) ENGINE=InnoDB > > running: > rails 2.3.3 > ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] > Server version: 5.1.37-community MySQL Community Server (GPL) > > Solution: > the following posts resolved the issue.http://halyph.blogspot.com/2009/08/rails-23-migration-issues-with-mys...