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

connector 8 Session exception (17 replies)

I have setup the very basic program as follow in Visual Studio 2017. x64 compiles/links fine. The local debugger immediately produces a memory exception when trying to open a session. I tried this on...

View Article


Legacy C issue (1 reply)

I am trying to use the newest connector (8.0.19) to build legacy c programs. This is the CPP connector but documentation indicates that it can also be used to run legacy c programs although there is...

View Article


Site5 & Schema (no replies)

Hello, I am hoping someone can help me. As most may know site5 is one of the popular web hosting sites. I am trying to understand what "Schema" would refer to in their setup. Such as would schema be...

View Article

Static linking to Connector/C++ on linux giving errors (3 replies)

I'm trying to link the static connector library using the following makefile: MYSQL_CONCPP_DIR = /usr/include/mysql-cppconn-8 CPPFLAGS = -DSTATIC_CONCPP -I $(MYSQL_CONCPP_DIR)/include LDLIBS =...

View Article

C++ mysql connection problem (no replies)

I've centos7.5 and codeblocks 17 in VM. i am trying to build small project that needs to connect to mysql connection with c++. but having this error :- ||=== Build: Release in cbs (compiler: GNU GCC...

View Article


std::iterator deprecated in C++17. (no replies)

I want to use C++17 in my project but the MySQL Connector uses deprecated std::iterator in the headers which gives an error in Visual Studio as it is deprecated. So, will std::iterator get removed...

View Article

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

https://insidemysql.com/mysql-connector-c-8-0-20-has-been-released/

View Article

Boost library (should be) deprecated (no replies)

In the process of switching over to a 32-bit C++ connector library, I had occasion to revisit the build procedure. The connector source needs to include template classes from the Boost library, which...

View Article


Is there a sample code using "MySQL 8.0: Connector / C ++"? (2 replies)

I'm sorry for the followers Is there a sample code using "MySQL 8.0: Connector / C ++"? Development environment Visualstudio2019enterprise OS: windows server2019

View Article


Access denied to database even when privileges granted (3 replies)

Hi, I am using MySQL C++ connector 8.0 and while I connect to the database successful my program crashed saying access denied for user to the database. I have the user INSERT UPDATE DELETE AND SELECT...

View Article

Warnings from IntelliSense. MYSQL C++/Connector Setup (no replies)

I installed MYSQL and C++/Connector yesterday. After I added all libs and includes, it worked. But I am left with these warnings from IntelliSense: 1.Dereferencing NULL pointer 'sess'. 2.The enum type...

View Article

mysql-connector-cpp-8.0.20 CDK Error: Failed string conversion (1 reply)

I have a problem reading the utf-8 string from the database. I found out that the problem is with the symbol U+FF08 Code example: auto res = session.sql(u8"SELECT '(' as zh").execute(); try {...

View Article

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

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

View Article


mysql connector c++ 8.0.20 (3 replies)

Hi, when i use c++ api connect to mysql server, it is conencted time out!! computer: win7 sp1 vs2019 professional code : std::string user = "test"; std::string passwd = "123"; std::string ip =...

View Article

Connections errors to server (no replies)

Hi everybody, i had tried to find existing topic about my problems but i haven't found. So my architecture is: - Raspberry like computer, ARM - OS linux Raspian - C++ the coding - Mysql library mysql...

View Article


Mysql connector c++ 8.0. How to do INSERT IGNORE? (no replies)

I want to do the equivalent of INSERT IGNORE to a table with a UNIQUE constraint. I can't find a way to do this with the C++ connector, so I've fallen back to capturing the Error and checking to see...

View Article

Performance of X DevApi very slow compared to legacy JDBC (no replies)

Hello, we wanted to rewrite our code which previously used the legacy JDBC API and migrate that to the X DevApi. However, we faced a problem when we tried to compare the performance of the Legacy JDBC...

View Article


Lost connection to MySQL server during query (no replies)

Hi all, Recently I trying to using connector cpp 1.1.7 to access mysql server(both os is Debian stretch),but encounter "Lost connection to MySQL server during query" problem.It happens when i using...

View Article

Connector/C++ (no replies)

When will Connector/C++ support async execution?

View Article

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

https://insidemysql.com/mysql-connector-c-8-0-22/

View Article
Browsing all 527 articles
Browse latest View live


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