C++ Program communicating with MySQL Database

前端 未结 8 1612
醉梦人生
醉梦人生 2021-01-03 10:01

Does anyone know of a simple way for a C++ program to communicate directly with a MySQL database? I have looked at MySQL++ and found it to be very confusing. If anyone kno

8条回答
  •  天命终不由人
    2021-01-03 10:51

    MySQL has a beta release of MySQL Connector C++ that can be found Here. It's a connector written in C++ but modeled after Java's JDBC connectors. If you've used JDBC at all, this will feel almost identical. It's also cross platform and can be compiled on Linux, Windows, and Mac OS.

提交回复
热议问题