1. Download mysql ODBC driver
Click to enter the download interface of mysql official website: https://dev.mysql.com/downloads/connector/odbc/
2. Install the driver
3. Configure the data source
Find [Control Panel]-[Administrative Tools]-[ODBC Data Source] in turn
[Add] Add mysql ODBC driver
Note: The difference between " mysql ODBC 5.3 ANSI Driver" and "MySQL ODBC 5.3 Unicode Driver":
① MySQL ODBC 5.3 ANSI Driver only targets a limited range of character sets;
② MySQL ODBC 5.3 Unicode Driver provides more character set support, that is, provides multi-language support
Data Source Name: The name of the data source, which can be customized (preferably linked to the project function)
Description: The description of this data source, main functions, etc., can be left blank
TCP / IP Server: server name, either machine name or IP address; if it is local, you can fill in "localhost"
Port: The port number of the MySQL service, the default is 3306, or you can set it yourself when installing MySQL
User: User name, the default is root, or you can set it yourself when installing MySQL
Password: Password
Database: database name