I’m running SQL Server 2017 Developer edition and trying to use SQL Server Migration Assistant for MySQL to move my MySQL database over to SQL Server. The problem is that the migration tool won’t connect to my MySQL instance even though I can connect fine using other methods.
When I use MySQL Workbench, the connection works perfectly with my server details. I can access the database without any issues. However, when I enter the exact same connection information into the SQL Server Migration Assistant (same hostname, port number, and username), it fails completely.
The error I keep getting is: “Connection to MySQL failed. ERROR [HY000] [MySQL][ODBC 5.2(w) Driver]Unknown MySQL server host ‘Mysql@127.0.0.1’ (0)”
I’ve already tried switching between different ODBC drivers including both ANSI and Unicode versions. I tested with driver versions 5.2 and 5.3 but neither one resolves the connection issue. Has anyone encountered this problem before or know what might be causing the migration assistant to fail when other MySQL clients work fine?