“Mysql to postgres Migration pgloader ‘ERROR mysql: 76 fell through ECASE expression'”

huangapple go评论61阅读模式
英文:

Mysql to postgres Migration pgloader "ERROR mysql: 76 fell through ECASE expression"

问题

我尝试将我的MySQL数据库迁移到Postgres数据库时,遇到了以下错误。

如何解决这个问题?

“Mysql to postgres Migration pgloader ‘ERROR mysql: 76 fell through ECASE expression'”

英文:

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

I Face the Following Error.

How can I solve this?

“Mysql to postgres Migration pgloader ‘ERROR mysql: 76 fell through ECASE expression'”

答案1

得分: 4

你可能会发现用户Axxxolotl这个GitHub问题评论中提供的解决方案很有用:

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
英文:

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
>

答案2

得分: 2

我通过从源代码编译 pgloader 来解决了这个问题。

英文:

I solved it by compiling pgloader from source.

huangapple
  • 本文由 发表于 2023年2月18日 20:09:34
  • 转载请务必保留本文链接:https://go.coder-hub.com/75493241.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定