1

While I try to migrate my MySQL Databse to a Postgres database.

I Face the Following Error.

How can I solve this?

enter image description here

starball
  • 20,030
  • 7
  • 43
  • 238
GanesH RahuL
  • 431
  • 5
  • 16

2 Answers2

1

I solved it by compiling pgloader from source.

Edward van Kuik
  • 1,357
  • 1
  • 9
  • 9
0

You may find the solution found by user Axxxolotl in this GitHub issue comment useful:

apt remove pgloader -y
git clone https://github.com/dimitri/pgloader.git
apt-get install sbcl unzip libsqlite3-dev make curl gawk freetds-dev libzip-dev
cd /path/to/pgloader
make pgloader
./build/bin/pgloader --help
pgloader --debug mysql://root:'123'@127.0.0.1/nextcloud_storage postgresql://postgres:pass@127.0.0.1:5432/nextcloud_storage
starball
  • 20,030
  • 7
  • 43
  • 238