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.