Project

General

Profile

mysql2-adapter erros !

Added by peter smith over 9 years ago

Hi there:

I use : [gem list], and mysql2(0.3.16) has installed, my
database.yml also assign adapter as mysql2, and i had copy correct libmysql.dll to Ruby\bin, but i can't see mysql2 in the list
when i use: [bundle show] under the directory of remedy.

Then I try to create the database structure for remedy on Windows,
but failed as follow message:

C:\redmine>set RAILS_ENV=production

C:\redmine>rake db:migrate
rake aborted!
Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (my
sql2 is not part of the bundle. Add it to Gemfile.)
C:/redmine/config/environment.rb:14:in `<top (required)>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

What else can i do to solve this problem ? Thank you !!