# Mysql 5.1 and Rails 2.3.5 error on Windows

**URL:** <https://www.ruby-forum.com/t/mysql-5-1-and-rails-2-3-5-error-on-windows/181500>\
**Category:** Rails\
**Created:** [January 12, 2010, 8:48pm UTC](https://www.ruby-forum.com/t/mysql-5-1-and-rails-2-3-5-error-on-windows/181500 "2010-01-12T20:48:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vihrao](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f07891/32.png) [@vihrao](https://www.ruby-forum.com/u/vihrao)\
**Post date:** [January 12, 2010, 8:48pm UTC](https://www.ruby-forum.com/t/mysql-5-1-and-rails-2-3-5-error-on-windows/181500/1 "2010-01-12T20:48:50Z")

</div>

I installed Rails 2.3.5. Installed mysql 5.1 developer version. Then I  
did gem install mysql.  
I did myapp -d mysql  
I did rake db:create:all  
Get error “The application has failed to start because LIBMYSQL.dll was  
not found. Reinstlling the application may fix this problem.”  
I completely removed mysql. I reinstalled mysql 5.1 developer version.  
The I did again gem install mysql. Same error persists.  
Can someone help?

---

<div class="post-metadata">

**Author:** ![vihrao](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/f07891/32.png) [@vihrao](https://www.ruby-forum.com/u/vihrao)\
**Post date:** [January 13, 2010, 3:59am UTC](https://www.ruby-forum.com/t/mysql-5-1-and-rails-2-3-5-error-on-windows/181500/2 "2010-01-13T03:59:31Z")

</div>

you must created a set PATH in your enviromnent variable and point it to  
your mysql bin path.

2010/1/12 Vishwa R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
