GEMFile gem 'mysql2' and mysql version is 4.1.2

Hi all

I have a Gemfile with this value

gem 'mysql2'

but when I run this command '$ bundle install' on my host they said that

"The command "bundle install --local" seems to be returning mysql2 dependency error now. Unfortunately mysql2 gem requires mysql 5.1+ ( refer: https://github.com/brianmario/mysql2/issues/109 ) whereas the server mysql version is 4.1.2. Since you are on a shared server, it is not possible to upgrade mysql version as it may affect many other users in the same server."

how can I replace the expression

gem 'mysql2'

created by default when I run

'rails new mystore -d=mysql'

to run with mysql 4.1.2?

I am trying to install Spree following this link http://spreecommerce.com/documentation/getting_started.html

Please advise!

Hi all

I have a Gemfile with this value

gem 'mysql2'

but when I run this command '$ bundle install' on my host they said that

"The command "bundle install --local" seems to be returning mysql2 dependency error now. Unfortunately mysql2 gem requires mysql 5.1+ ( refer: https://github.com/brianmario/mysql2/issues/109 ) whereas the server mysql version is 4.1.2. Since you are on a shared server, it is not possible to upgrade mysql version as it may affect many other users in the same server."

how can I replace the expression

gem 'mysql2'

created by default when I run

'rails new mystore -d=mysql'

to run with mysql 4.1.2?

You can try changing mysql2 to mysql both in your gemfile and in your database.yml

Mysql 4.1.2 is seriously old (may 2004) and it looks like it was an alpha release of the 4.1 series rather than a production ready version. The whole 4.1 series has been unsupported for years. That your host only provides this version suggests that they really don't care that much

Fred