• Home
  • About Me
  • Musings
  • Programming
  • Open Source
  • Computers
  • Society
  • Books
  • Design
  • Movies
  • Fixing libmysql.dll issue in Rails

    Posted on May 25th, 2009 by Rajeshwaran S P

    To fix the error, “This application has failed to start because LIBMYSQL.DLL was not found. Re-installing the application may fix this problem.”  while working on rails using mysql as the database, 

    Copy the libmysql.dll found in the mysql installation directory (mysql\bin) and paste it in your ruby installation directory (ruby\bin)

    Restart the server and viola, the error is fixed.

    Possibly Related posts:

    1. Rails: Error with MySQL in welcome screen After installing rails, to test it, I created a rails...
    2. Installing Rails : Local gem install After a unsuccessful installation of rails that took nearly 5...
    3. Rails Installation Installing Rails needs a lot of patience. The command is...
    4. Installing LAMP in Ubuntu Following are the steps to get Apache, MySQL and PHP...
    5. Rake Migrate – Aborted! Trying out a sample application using rails, I faced a...

    Tags: ,

    4 Responses to “Fixing libmysql.dll issue in Rails”

    1. Trev said :

      Thanks. I am using MYSQL 5.0.83 on RoR 2.3.2. Had to use this version of MYSQL as the 5.1.35 version kept crashing my Webrick server instance. Then I hit this LIBMYSQL.DLL problem. :-)

      However your solution worked… didnt even need to restart the Webrick… but I did anyway.

      Thanks

    2. Rajeshwaran S P said :

      Happy to know that it worked for you!

    3. IHatDLLErrors said :

      I used to get really bad DLL errors all the time! Such a pain in the neck!

    4. manish said :

      [1] gem install mysql
      [2] you will see like error syntac but dont pay attention to it
      [3] find LIBMYSQL.DLL from your mysql/bin folder in your mysql folder
      not ruby folder.
      [4] copy & paste that file to ruby/bin
      [5] restart your server or console, if you are already run it.

    Leave a Reply