I am making one application using RoR with mysql.I, following the steps below to create an application using mysql.
1-rails new project name -d mysql
2-rails generate a sketch Post name: string body: text
After completing the second step, I received the following error.
Error:
Failed to load libmysql.dll from C:\Ruby193\lib\ruby\gems\1.9.1\gems\mysql2-0.3. 18-x86-mingw32\vendor\libmysql.dll
I installed mysql on my system and copied the libmysql.dll file from mysql-connector-c-noinstall-6.0.2-win32 \ lib \ libmysql.dll to C: \ Ruby193 \ bin, but I get the above error. Please try to help I have to solve this error, and I am also interested to know if my mysql DB is present in some other instance instead of my local system, how can I connect it using Rails.
I use Rails version 3.2.19 and win-xp on my system.
source share