[英]Failure to connect to MySQL server from SQL Server Migration Assistant
I have SQL Server 2017 Developer installed.我安装了 SQL Server 2017 Developer。 I want to use the SQL Server Migration Assistant for MySQL to migrate a MySQL database into SQL Server.
我想使用 MySQL 的 SQL 服务器迁移助手将 MySQL 数据库迁移到 Z97788420A0100CB30BCA28 服务器。 But I can't get the migration assistant to connect to the MySQL server.
但是我无法让迁移助手连接到 MySQL 服务器。 First of all, using MySQL Workbench I can connect to the server with no problem through this dialog box;
首先,使用 MySQL Workbench 我可以通过这个对话框毫无问题地连接到服务器;
MySQL Workbench connection dialog box MySQL 工作台连接对话框
Using the same service, (or server) name, port and user entered into the migration assistant dialog box for connecting to the MySQL server;使用迁移助手对话框中输入的相同服务、(或服务器)名称、端口和用户连接MySQL服务器;
SQL Server Migration Assistant connection to MySQL Server dialog box SQL 服务器迁移助手连接到 MySQL 服务器对话框
I get an error message saying,我收到一条错误消息说,
Cconnection to MySQL failed.与 MySQL 的连接失败。 ERROR [HY000] [MySQL][ODBC 5.2(w) Driver]Unknown MySQL server host 'Mysql@127.0.0.1' (0)
错误 [HY000] [MySQL][ODBC 5.2(w) 驱动程序]未知 MySQL 服务器主机 'Mysql@127.0.0.1' (0)
I've tried selecting both the ANSI and unicode ODBC drivers, version 5.2 and 5.3.我尝试选择 ANSI 和 unicode ODBC 驱动程序,版本 5.2 和 5.3。 Nothing seems to work.
似乎没有任何效果。
You need to remove "Mysql@" from the connection string.您需要从连接字符串中删除“Mysql@”。 This isn't a necessary part of the hostname when connecting through SSMA.
通过 SSMA 连接时,这不是主机名的必要部分。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.