![]() Pops up MySql data source configuration, the data source name is arbitrary, TCP/IP Server is the database address, and the User user name, Password, the database connected by Database, click "Test" to test the connection, as shown in the figure below:Īfter clicking "OK", you can see that a new data source has been added. Switches to "System DSN"→"Add"→"MySql ODBC 5.1 Driver", as shown in the following figure: confirm that the MySql ODBC driver is installed, open "Control Panel" → "Administrative Tools" → "Data Source", switch to the "Driver" page, and view "MySql ODBC 5.1 Driver", as shown in the figure below : ![]() ![]() Must have MySql ODBC driver first, I downloaded the fully installed version, including MySql server, various supported connections, Workbench, sample database, documentation, if there is no ODBC driver, you can download it from the official website. Software environment: Delphi 7, mysql-installer-5.5.15.0 1. Here, I only record the methods I have tested in case I need them. There are many articles about Delphi connecting to MySql database on the Internet.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |