Rails 2.3.3 / MySql 5.1.37 / Ruby 1.8.6 - Migration issue.

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

It worked!! Spent some hours trying to figure this one out.
Thanks a lot!