Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3320596
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:57:43+00:00 2026-05-17T22:57:43+00:00

I did the following to install Ruby on Rails on Windows XP: Installed rubyinstaller-1.9.2-p0.exe

  • 0

I did the following to install Ruby on Rails on Windows XP:

  • Installed rubyinstaller-1.9.2-p0.exe
  • gem install rails
  • gem install mysql2
  • cd my_dir
  • rails new my_app -d mysql

The created config/database.yml contains the following MySQL configuration:

development:
  adapter: mysql2
  encoding: utf8
  reconnect: false
  database: first_development
  pool: 5
  username: root
  password:
  host: localhost

However, when I run rails server from my_dir I got the following error:

D:/Programs/Ruby192/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6-x86-mingw32/lib/mysql2
/mysql2.rb:2:in `require': 126: The specified module could not be found.   - D:/
Programs/Ruby192/lib/ruby/gems/1.9.1/gems/mysql2-0.2.6-x86-mingw32/lib/mysql2/1.
9/mysql2.so (LoadError)
...

along with the following pop-up message:

The application has failed to start because LIBMYSQL.dll was not found. Re-installing the application may fix this problem.

The problem, I guess, is the installation of MySQL.

I have WAMP installed, and I would like to use its MySQL installation.

I searched for libmysql.dll and indeed found it in: my_path_to_wamp\bin\mysql\mysql5.1.36\bin\libmysql.dll

The question is how would I tell Rails to take this installation of MySQL ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T22:57:44+00:00Added an answer on May 17, 2026 at 10:57 pm

    I’ve had this problem when installing the mysql gem before, and a quick fix is just to copy the libmysql.dll into your ruby bin folder. I recently got rails running off of a WAMP MySQL server without a problem, so if this doesn’t solve it post a more specific error message once you’ve sorted out the dependency issue and I’ll look at my configuration.

    EDIT: Just to be specific, I’m running XAMPP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I did the following to upper case the first letter in each word but
Trying to follow a technique found at bzr and gitosis I did the following:
I did it by creating OLE object with Delphi in 2000/NT/XP as following: Voice
If I had the following select, and did not know the value to use
Did Microsoft abandon support for Windows Presentation Foundation (WPF) on Visual Studio 2005? There
Did the recent purchase of MySQL by Sun and the subsequent buggy releases kill
Did you ever have to choose between WISA or LAMP at the beginning of
Did you ever had a bug in your code, you could not resolve? I
Did anyone of you ever find a way of getting the Microsoft Report Viewer
Did you ever use Oracle auditing features on a production db? How did that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.