# Error with the DB?

**URL:** <https://www.ruby-forum.com/t/error-with-the-db/151316>\
**Category:** Rails\
**Created:** [October 20, 2008, 11:07am UTC](https://www.ruby-forum.com/t/error-with-the-db/151316 "2008-10-20T11:07:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lewicki](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/e95f7d/32.png) [@lewicki](https://www.ruby-forum.com/u/lewicki)\
**Post date:** [October 20, 2008, 11:07am UTC](https://www.ruby-forum.com/t/error-with-the-db/151316/1 "2008-10-20T11:07:52Z")

</div>

> rake db:migrate  
> (in C:/Documents and Settings/Administrador/My Documents/Aptana Studio/  
> batataonrails)  
> rake aborted!  
> undefined method `each’ for #Mysql:0x3522530

(See full trace by running task with --trace)  
C:/Ruby/bin/rake:19: [BUG] Segmentation fault  
ruby 1.8.6 (2008-08-11) [i386-mswin32]

This application has requested the Runtime to terminate it in an  
unusual way.  
Please contact the application’s support team for more information.

> 

The db:migrate does not change the version.  
Use aptana Studio, and Mysql 5.1

Ps: Sorry for my English
