Build mysql driver with libmysqld.lib in vc2010 causes memory access violation
Installation and Deployment
3
Posts
2
Posters
1.6k
Views
1
Watching
-
hello,
when I build both release and debug MySQL drivers (plugin) with libmysql
@
LIBS += -L$$MYSQLDIR/lib/ -llibmysql
@everything works fine, but when I try using libmysqld (for the debug version only)
I get a memory access violation from line 1272 in qsql_mysql.cpp in open() method.should I pass any precompile flag or something to make it work?
*and another question, has anyone been able to actually use the MySQL embedded option? if so, can u share some code,
compiling is successful but connection is impossible ☹
THX