Quantcast
Channel: MySQL Forums - Connector/C++
Browsing all 527 articles
Browse latest View live

free() invalid pointer in prepared statement (1 reply)

Hi, This may end up in finger pointing but i have to start somewhere... I am on RedHat 6.7; I have the most recent MySQL yum repo versions of everything mysql-community-server.x86_64 5.6.27-2.el6 plus...

View Article


The procedure entry point mysql_get_option could not be located in the...

I am getting this error when trying to run my program. It compiles fine and will even run if I compile with debug in VS2013. If I switch over to release compile then I run into this problem. I have...

View Article


Segmentation Fault on Example Program (no replies)

I am using Mac OS X Yosemite version 10.10.5. I downloaded the connector/c++ library from the mysql developer website. I untared the files and installed them in...

View Article

Error in compling the examples (no replies)

I downloaded the connector for c++ and installed it following the steps provided on the website. Every step was succeed. But when I changed to path of example and compiled a program, none could...

View Article

Basic of c programming (no replies)

Computer programming means giving instruction to the computer and to interact with the computer we need a language to communicate with it, there are many languages such as C, C++, Java, Python each...

View Article


Compiling connector/C++ with Visual Studio 2015 (no replies)

Hi guys, I am porting a project from Visual Studio 2010 to Visual Studio 2015. However, I find that I need to recompile connector/c++ which I use. However, I get errors of the kind: Severity Code...

View Article

Connector/C++ documentation? (no replies)

Hi to everyone, there are some kind of documentations about MySql C++ Connector? Such as function or method list description I've tried to search in forum, in dev.myslq.com/doc/, but i've found only...

View Article

MySQL Connector C++ Make Errors (no replies)

Hello, I am trying to run make on the c++ connector but i receive the following errors: make Scanning dependencies of target mysqlcppconn [ 0%] Building CXX object...

View Article


R language (1 reply)

R Language i.e. Stands for Rintro Language. Basically it is a platform used for statically and graphics. It also provide us linear or non-linear modeling, Classification etc. One advantage of R...

View Article


Features of R Language (no replies)

Features of R Language: 4 Basic programming language features a) Input/Output b) Object Oriented Programming c) Including R Packages d) Distributed Computing

View Article

C++ Project (no replies)

Which is the best topic for my project and easy to implemented?

View Article

C++ Basics (no replies)

What is the main role of #include in C programing?Explain!

View Article

C API Support for calling mysql stored procedure - Not working in case of...

Below code works fine in case of integer argument like CREATE PROCEDURE p1(IN p_in INT)but not for varchar arguments. varchar input parameter type is MYSQL_TYPE_STRING and output parameter type is...

View Article


Mysql c++ application help (2 replies)

I was wondering if anyone can help me figure how to do something. I have created an C++ application with a menu that links to mySql database to pull data from. I have managed to pull data from my...

View Article

Segmentation fault when inserting a large string (no replies)

I have a repeatable segmentation fault when using prepared statements with large chunks of data bound to a mediumblob data type. I’ve searched the outstanding bugs, but can’t find anything relevant,...

View Article


i got the below errors while executing the visual studio c++ console...

i have written the code in visual studio c++ in console application in that i am trying to connect to mysql database but i am getting the following errors 1) unresolved external symbol _mysql_close@4...

View Article

MySql C++ connector - conn->commit() doesn't throw exception (no replies)

Hi, sql::Connection *conn I observed that conn->commit() doesn't throw exception if client loses connection to mysql server just before executing this commit statement. As no exception is thrown...

View Article


how to escape strings in mysqlcppconn (no replies)

Hello, i wrote a C++ program and using the mysqlcppconn library. Now i would love to escape sql special characters for make it more stable and save. I don't know how to do with that API. Of course i...

View Article

std::bad_alloc thrown on attemt to setSchema (1 reply)

Hi -- I have this really simple code: auto mysql_driver = get_driver_instance(); sql::Connection *c = mysql_driver->connect("172.17.0.1", "root", "tooth"); c->setSchema("mysql"); delete c; That...

View Article

Error trying to connect to MySQL with Eclipse (no replies)

Hello, I am trying to connect to the MySQL Database using Eclipse for C++. I have added the dynamic library mysqlcppconn.lib and also have the relevant dll files in my executable folder I get the...

View Article
Browsing all 527 articles
Browse latest View live