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

The driver crash when calling driver->connect (2 replies)

Hi, I want to connect to a database using the cpp connector but the program crash when I'm trying to connect to the database : sql::Driver* driver = get_driver_instance();...

View Article


“Can't connect … through socket '/tmp/mysql.sock'” using C API...

Hi All I'm running OS 11.1 Big Sur and updating an objective C program that uses the MySql C API (NOT the C Connector). I CAN connect to local MySql server from the command line using...

View Article


Indian restaurant croydon | Enjoy Delicious indian food | Delivery in croydon...

Indian dishes prepared fresh each day at our restaurant in croydon.Adeena's kitchen provide you home delivery .visit us! Our restaurant serves delicious.call on 02036678566.

View Article

error LNK2001 (no replies)

Hi, I have problem when compiling my project with cpp connector: 1>mysqlcppconn-static.lib(mysql_connection.obj) : error LNK2001: nierozpoznany symbol zewnętrzny DnsFree...

View Article

Connector/C++ v 8 and binding parameters (4 replies)

I'm using the JDBC subset of the v 8 C++ connector. I can't find the equivalent of the mysql_stmt_bind_param function that was available in the 5.7 api. The 8.0 header prepared_statement.h has a bunch...

View Article


MySQL Connector/C++ 8.0.23 has been released (no replies)

https://insidemysql.com/mysql-connector-cpp-8-0-23-has-been-released/

View Article

mysql_real_connect returns 0 (1 reply)

hi to all, I've mysql server in centos 6 VM and client in centos 7 VM. I've building a small project using c++ and mysql. when i want to connect to server in program it shows segmentation fault. And...

View Article

MySQL Connector/C++ 8.0.22 my app release build ok, debug build asserts TLS...

TLS and application security in general are well outside my areas of expertise. I generally write instrument and machine interface software. This is a large application, I have been unable to...

View Article


Is the Connector thread-safe? (no replies)

Hello. Where is the information about whether the connector is thread-safe? Can I call the execute method in different threads and be sure that the execution is correct? If not, which methods share...

View Article


c++ and Exlipse (no replies)

After adding the MySQL Connector c++ using the windows msi installers I copied the sample project, but am receiving the following errors during linking C:/Program Files/MySQL/Connector C++...

View Article

Dynamic Var Bind with Multi Statement query in Mysql (1 reply)

Hi , I want to use Multi statement query with Dynamic Var bind so just wants to know it's valid combination or not i.e. - can we use both together ? status =mysql_query(con,"query1;query2"); query1...

View Article

MySQL Connector/C++ 8.0.24 has been released (no replies)

https://insidemysql.com/mysql-connector-cpp-8-0-24/

View Article

MySQL Connector/C++ 8.0.25 has been released (no replies)

https://insidemysql.com/mysql-connector-cpp-8-0-25/

View Article


How to escape a string? (3 replies)

Connector/C++ 8.0.25 (Legacy JDBC API) How do I escape a string without using a PreparedStatement and setString(index, value)? All the other mysql connectors seem to have a 'mysql_real_escape_string'...

View Article

How do I get the session state (and then reconnect)? (4 replies)

Hello. How can I get the mysqlx::Session state using XDevApi for C++? Let's say the MySQL server has dropped the connection, how can I check it? My client can work for several weeks without shutting...

View Article


undefined reference to `get_driver_instance' (1 reply)

Hi, I have compile failure for c++ embedded mysql. The program is very simple. I have included the direct paths for all of the headerfiles in include and its subdirectory cppconn. using namespace std;...

View Article

MySQL Connector/C++ 8.0.26 is released (no replies)

MySQL Connector/C++ 8.0.26 is released https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0.html

View Article


mysql-connector-c++-8.0.26-src compiler error (no replies)

mysql-connector-c++-8.0.26-src/jdbc/driver/mysql_connection.cpp:305:31: error: ‘MYSQL_OPT_LOAD_DATA_LOCAL_DIR’ was not declared in this scope {OPT_LOAD_DATA_LOCAL_DIR, MYSQL_OPT_LOAD_DATA_LOCAL_DIR,...

View Article

C++ mySQL connection failed (15 replies)

I have created a VST plugin with JUCE. I have created a database that asks whether a serial number is available. After the user has logged in, he can log out. However, you have to log out after a few...

View Article

Connector c++ 8 error looking for SSL Library (no replies)

I am unable to perform the configuration step for making the library on mac os, When I issue this command: cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/mysql/connector-c++-8.0 -WITH_SSL=system...

View Article
Browsing all 527 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>