Hi!
I'm trying to use Mysql connector C++ to connect to Mysql server. For that I use these include files:
#include "cppconn/driver.h"
#include "mysql_connection.h"
but they cant be read by the compiler.
Help please!
Geat thanks!
Hi!
I'm trying to use Mysql connector C++ to connect to Mysql server. For that I use these include files:
#include "cppconn/driver.h"
#include "mysql_connection.h"
but they cant be read by the compiler.
Help please!
Geat thanks!
Let me ask an other question: Why do you don't use QSqlDatabase to connect to your MySQL server?
Can I use it to verify if I am connected to Mysql server or not?
yes but I would like to verify if I am connected to Mysql server not to a database
As far as I know you can't connect to a MySQL server without specifying any database because the access rights are often different for different databases.
Bookmarks