To use MySQL ODBC, follow these steps:
- Download and install the MySQL ODBC driver from the MySQL website.
- Open the ODBC Data Source Administrator in Windows.
- Click on the User DSN tab and click Add to create a new data source.
- Choose the MySQL ODBC driver from the list of drivers and click Finish.
- In the next window, enter a name for the data source and set the server, port, username, password, and database information.
- Test the connection by clicking Test.
- Once the connection is successful, click OK to save the data source.
- Use the created data source to connect to MySQL using ODBC. This can be done through various programming languages such as Python, Java, or C++.
Note: Ensure that your MySQL server is configured to allow remote connections if you are connecting to it from a different machine.