Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道如何使用 ODBC 连接到同一台机器上的 MySQL 数据库,但现在我想知道如何通过网络连接到另一台服务器上的 MySQL 数据库。
Server=在连接字符串的后面写上数据库计算机的名称或 IP 地址。例如:
Server=
Driver={MySQL ODBC 5.1 Driver};Server=myServerAddress;Database=myDataBase;User=myUsername; Password=myPassword;Option=3;
更多示例在这里http://www.connectionstrings.com/mysql#p31