-
-
Notifications
You must be signed in to change notification settings - Fork 595
Open
Labels
ContributionGood First IssueThis is a good way to contribute to pgloader for the first timeThis is a good way to contribute to pgloader for the first timeSponsor needed
Description
QMYND:MYSQL-UNSUPPORTED-AUTHENTICATION attempting to load data from mysql 8.0.4-rc.
I found that mysql's default_authentication_plugin changed in this version:
https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
That looked promising, but I got the same error after setting it to the old default value.
-
pgloader --version
pgloader version "3.4.01f877bad7" compiled with SBCL 1.3.1.debian -
did you test a fresh compile from the source tree?
yes
- did you search for other similar issues?
yes
- how can I reproduce the bug?
To install this version of mysql on ubuntu:
curl -sLSvO https://dev.mysql.com/get/mysql-apt-config_0.8.9-1_all.deb
sudo dpkg -i /tmp/mysql-apt-config_0.8.9-1_all.deb # choose 8.0
sudo apt-get update
sudo apt-get install mysql-server
$ lsb_release -d
Description: Ubuntu 16.04.4 LTS
$ mysql --version
mysql Ver 8.0.4-rc for Linux on x86_64 (MySQL Community Server (GPL))
Then run
sudo MYSQL_PWD=***** -u archiveit ./build/bin/pgloader --verbose mysql://archiveit@wbgrp-svc413/archiveit3 postgresql:///archiveit3
- pgloader output you obtain
2018-04-17T23:56:47.055000Z NOTICE Starting pgloader, log system is ready.
2018-04-17T23:56:47.146000Z LOG Migrating from #<MYSQL-CONNECTION mysql://archiveit@wbgrp-svc413:3306/archiveit3 {10097067C3}>
2018-04-17T23:56:47.154000Z LOG Migrating into #<PGSQL-CONNECTION pgsql://archiveit@UNIX:5432/archiveit3 {1009941FF3}>
KABOOM!
FATAL error: Failed to connect to mysql at "wbgrp-svc413" (port 3306) as user "archiveit": Condition QMYND:MYSQL-UNSUPPORTED-AUTHENTICATION was signalled.
An unhandled error condition has been signalled:
Failed to connect to mysql at "wbgrp-svc413" (port 3306) as user "archiveit": Condition QMYND:MYSQL-UNSUPPORTED-AUTHENTICATION was signalled.
What I am doing here?
Failed to connect to mysql at "wbgrp-svc413" (port 3306) as user "archiveit": Condition QMYND:MYSQL-UNSUPPORTED-AUTHENTICATION was signalled.
-
data that is being loaded, if relevant
-
How the data is different from what you expected, if relevant
zoechi, ip75, JoseCage, pauloxnet, andreybolonin and 33 moreBenMorel
Metadata
Metadata
Assignees
Labels
ContributionGood First IssueThis is a good way to contribute to pgloader for the first timeThis is a good way to contribute to pgloader for the first timeSponsor needed