Questions tagged [mysql2psql-gem]

5 questions
5
votes
1 answer

Error transferring database from MySql to Postgres using mysql2pgsql

In order to host my Python/Django app on Heroku, I'm trying to convert my db from MySQL to Postgres following the instructions on https://realpython.com/blog/python/migrating-your-django-project-to-heroku/. I'm currently running OSX 10.9, and am…
jtimmins
  • 367
  • 3
  • 13
1
vote
2 answers

Rails server not working with mysql2 gem

I am using mysql2 gem and for some reason I am not able to run the rails server command. I have tried all the solutions found in stackoverflow, but nothing seems to work. Here is the output. $ rails…
Abulurd
  • 1,018
  • 4
  • 15
  • 31
1
vote
0 answers

mysql2 ruby gem installing error

i have the following error when i run this command, please help gem install mysql --platform=ruby -- --with-opt-dir=C:/mysql-connect or-c-noinstall-6.1.3-winx64 Temporarily enhancing PATH to include DevKit... Building native…
user3137376
  • 1,527
  • 2
  • 19
  • 29
0
votes
0 answers

ERROR : while trying to install mysql2 -v '0.3.21' on ubuntu 20.4

When i am trying to do bundle install getting following error An error occurred while installing mysql2 (0.3.21), and Bundler cannot continue. Make sure that `gem install mysql2 -v '0.3.21' --source 'https://rubygems.org/'` succeeds before…
0
votes
1 answer

Error installing mysql2psql: ERROR: Failed to build gem native extension

Im trying to build a docker container to migrate a MySql database to a Postgresql. Plan is to then ad images for each server in a docker-compose.yml, but my initial image build fails My dockerfile: FROM ruby:2.4.0 RUN apt-get update && apt-get…
Jepzen
  • 2,942
  • 6
  • 40
  • 62