# Help with installation

**URL:** <https://www.ruby-forum.com/t/help-with-installation/156889>\
**Category:** Rails\
**Created:** [January 4, 2009, 10:52pm UTC](https://www.ruby-forum.com/t/help-with-installation/156889 "2009-01-04T22:52:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![blizzyb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/73ab20/32.png) [@blizzyb](https://www.ruby-forum.com/u/blizzyb)\
**Post date:** [January 4, 2009, 10:52pm UTC](https://www.ruby-forum.com/t/help-with-installation/156889/1 "2009-01-04T22:52:36Z")

</div>

I’m new to ROR and have been trying persistently to resolve a problem.  
My environment is XP SP3, MYSQL 5.0.67.I installed Ruby then RubyGems  
then Rails. I can create apps and everything works except that when I  
go to the root level of my app and type in the cmd - rake db:migrate -  
it says rake aborted! Mysql::Error: Command out of sync; you can’t run  
this command now: SHOW TABLES…

I created the app with rails -d mysql myapp. I then went to my config  
folder to put the credentials in the database.yml file. I am  
completely lost why I’m getting this error. In addition, when I do -  
gem install mysql, I get a error that when creating the documentation  
for the gem, it error out.

Any help or suggestion is appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![blizzyb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/73ab20/32.png) [@blizzyb](https://www.ruby-forum.com/u/blizzyb)\
**Post date:** [January 5, 2009, 12:42am UTC](https://www.ruby-forum.com/t/help-with-installation/156889/2 "2009-01-05T00:42:10Z")

</div>

Are you 100% sure you database/login details are correct in  
database.yml  
This is what it is pointing to…  
Cheers Dave
