Færdiggjort

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");

Evner: C++ Programmering, Linux, MySQL, OpenCV

Se mere: 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

Om arbejdsgiveren:
( 0 bedømmelser ) Saudi Arabia

Projekt ID: #16706207

Tildelt til:

marcellp

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 på 1 dag
(5 bedømmelser)
3.5

3 freelancere byder i gennemsnit $22 på dette job

vishaalvarma

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 på 1 dag
(1 bedømmelse)
1.8
$25 USD in 10 dage
(0 bedømmelser)
0.0