我已经搜索了很多东西,发现的只是一个“mysql++”,但我不知道如何安装它。
我不了解C++库!
最佳答案
在Google上搜索“C++ mysql教程”会带回以下内容
Developing Database Applications Using MySQL Connector/C++
和A Tiny MySQL++ Tutorial; C++ and MySQL; MySQL++ Example
依次链接到... Installing MySQL++; How to install MySQL++ on Linux-CentOS
通过阅读第一篇文章,我发现了这个Installing MySQL Connector/C++ from Source
他们似乎都直截了当。尽管安装过程因操作系统而略有不同。
关于c++ - 如何在C++中使用mysql?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/1792380/