MySQL XCode C++ Connector Bad Access code=13

我是研究僧i 提交于 2019-12-11 07:09:41

问题


I have a problem with getting MySQL working with my code. I get the EXC_BAD_ACCESS(code=EXC_i386_GPFLT) error on the connect line.

The code is the following:

 try {

     driver =sql::mysql::get_driver_instance();
     connection = driver->connect("tcp://127.0.0.1:3306/", "root", "");

I've seen the post MySQL Connector/C++ OS X 10.9 Mavericks and XCODE 5.0.2 but I can't do the same thing because I use a bunch of libraries that were linked the same way, and they are more difficult to configure in Xcode then probably adding MySQL to my project.

来源:https://stackoverflow.com/questions/30236545/mysql-xcode-c-connector-bad-access-code-13

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!