help me in linke mysql with codeblocks

I having a problem when I try to connect mysql with codeblocks and this error message appears to me "" undefined reference to get_driver_instance " and " id returned 1 exit status " these all the library that i included in my code :

#include <opencv2/[url removed, login to view]>

#include <opencv2/dnn/[url removed, login to view]>

#include <opencv2/[url removed, login to view]>

#include <opencv2/[url removed, login to view]>

#include <fstream>

#include <cstdio>

#include <ctime>

#include <iostream>

#include <mysql/mysql.h>

#include "mysql_connection.h"

#include <cppconn/driver.h>

#include <cppconn/exception.h>

#include <cppconn/resultset.h>

#include <cppconn/statement.h>

#include <cppconn/driver.h>

#include "mysql_driver.h"

#include "mysql_connection.h"

#include <cppconn/connection.h>

#include <cppconn/prepared_statement.h>

#include <cppconn/metadata.h>

#include <cppconn/resultset_metadata.h>

#include <cppconn/warning.h>

The code i used to make a connection to mysql is :

sql::Driver *driver;

sql::Connection *con;

sql::Statement *stmt;

sql::ResultSet *res;

/* Create a connection */

driver = ::get_driver_instance();

con = driver->connect("tcp://[url removed, login to view]", "root", "wlms");

Taidot: C++ -ohjelmointi, Linux, MySQL, OpenCV

Näytä lisää: help contents mysql, mysql database will used implementing online book store, online help system mysql php, mysql connector c++, code blocks sql, code blocks database example, c++ connect to mysql database example, javascript form validation mysql username check used, mysql help right, help fotonotes mysql, students projects help php mysql, mysql api vba help, mysql help skype, server used apache database used mysql, mysql odbc driver connection slow, mysql database used prepaid pins, build commerce website used php mysql, outsource help mysql database

Tietoa työnantajasta:
( 0 arvostelua ) Saudi Arabia

Projektin tunnus: #16706207

Myönnetty käyttäjälle:


I have demonstrated experience on this site working with C++ and MySQL. Please feel free to message me, if I understand your requirements correctly this could be a simple fix in under an hour.

$25 USD 1 päivässä
(5 Arvostelua)

3 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


I have worked with both My SQL and C++ earlier as well. I have good experience with these two technologies. I can help you with this.

$15 USD 1 päivässä
(1 arvostelu)
$25 USD 10 päivässä
(0 arvostelua)