I know how to use ODBC to connect to a MySQL database on the same machine, but now I want to know how to connect to a MySQL database on another server across the network.
Asked
Active
Viewed 6,389 times
1 Answers
3
Write the database computer's name or IP-address after Server=
in the connection string.
For example:
Driver={MySQL ODBC 5.1 Driver};Server=myServerAddress;Database=myDataBase;User=myUsername; Password=myPassword;Option=3;
more examples here http://www.connectionstrings.com/mysql#p31

Stijn Sanders
- 35,982
- 11
- 45
- 67