我正在尝试使用Amazon DMS进行数据库迁移。我在机器上安装了MySQL,并使用localhost:3306
作为本机MySQL数据库,并使用RDS实例终结点作为云数据库。
在创建DMS复制实例时,我面临源端点服务器的问题。我尝试将“ localhost”,“ 127.0.0.1”用作服务器,但是在运行测试中,我看到以下错误:-
Test Endpoint failed: Application-Status: 1020912, Application-Message: Cannot connect to ODBC provider Network error has occurred, Application-Detailed-Message: RetCode: SQL_ERROR SqlState: 08S01 NativeError: 2002 Message: [unixODBC][MySQL][ODBC 8.0(w) Driver]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ODBC general error. Cannot connect to ODBC provider Network error has occurred RetCode: SQL_ERROR SqlState: 08S01 NativeError: 2002 Message: [unixODBC][MySQL][ODBC 8.0(w) Driver]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ODBC general error. Cannot connect to ODBC provider Network error has occurred RetCode: SQL_ERROR SqlState: 08S01 NativeError: 2002 Message: [unixODBC][MySQL][ODBC 8.0(w) Driver]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) ODBC general error. Cannot connect to ODBC provider ODBC general error. RetCode: SQL_ERROR SqlState: HY000 NativeError: 2003 Message: [unixODBC][MySQL][ODBC 8.0(w) Driver]Can't
在我的情况下,请指导我提供什么作为Source Endpoint Server。