MySQL Connector 8.0 Session init error :cdk::foundation::Generic_error (no...
my code blow: envrionment: win32/vs2015 Session sess("192.168.1.101", 3306, "root", "zhangkai", "test"); when I init the session ,It got an error: 0x76FE1932 error happend...
View ArticleMicrosoft C++ Exception std::out_of_range mysql-connector-c++-8.0.18-winx64...
Visual Studio 2019 Pro mysqld.exe 8.0.17 x64 I am using mysqlcppconn8-static.lib, downloaded from MySQL site. This is not a fatal exception, the query result is correct. The exception appears to be...
View Articleread access violation in xdevapi 8.0.17 (1 reply)
I keep seeing an access violation in the MySQL dll. It appears to be random, not 100% of the time, but happens frequently. Originally I thought that I was allowing the session to be destroyed before...
View ArticlePost is not appearing in topic list (no replies)
The topic title is: Static build of connector fails with C2079 mysqlx_row_struct not defined I can see the post in my Follow Topics list but it has the date 12/31/1969. How do I get this to show in...
View Articleget_driver_instance is unresolved (2 replies)
I'm building a small MySQL app with VS 2019. I'm linking against the X64 debug binaries and explicitly including mysqlcppconn8-static.lib. The app makes many calls to connector api's, but...
View ArticleWhere is ResultSet::updateRow etc. in the JDBC API? (no replies)
Does the C++ connector still support updateRow and kindred functions in the JDBC api? If not, is there equivalent functionality, still within the JDBC api?
View ArticleConnection Timeout on remote DB connection (no replies)
I am trying to use the c++ connector to connect to a remote db I am running on a virtual linux box. I keep getting this error: CDK Error: Connection attempt to the server was aborted. Timeout of 10000...
View ArticleHow do I insert or query geometry value with X DevAPI? (no replies)
I have a table which holds a POINT geometry field, now I need to insert value using connector/C++ 8. With normal SQL it's easy: INSERT INTO geom(center) VALUES (ST_GeomFromText('POINT(1,2)'));...
View ArticleI need help with a build of mysql connector 8 test code which fails with...
This is the code that is to be compiled: #include <iostream> #include <mysqlx/xdevapi.h> using namespace mysqlx; string usr = "root"; string pwd = “passwordâ€; int main() { Session...
View ArticleMysql connector c++ 8.0. How to work with datetime? (1 reply)
I have table like: CREATE TABLE `table_name` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `date_update` datetime NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; I...
View ArticleConnector/C++ v 8 and binding parameters (2 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 ArticleConnector 1.1.19 cpp (2 replies)
Hi I use cmysql connector 1.1.9 with cpp under visual studio 2019. no problem with the kit. I a just want to modify the timeout read with function setClientOptions. is it possible? if Yes can you give...
View ArticleConnector 1.1.19 cpp getstring error (3 replies)
Hy Visual studio 2019 I have a menory failed at the end off the code: when i'm over the instruction break it's try to delete the string tt and it's make a exeption !!! the query extract the correclyt...
View ArticleConnector 1.1.19 cpp getstring error more informations (no replies)
Hy when i use library as 1.1.19, it's the same list off dll loaded: 'FTPexample.exe'. Les symboles ont été chargés. 'C:\Windows\SysWOW64\ntdll.dll'. 'C:\Windows\SysWOW64\kernel32.dll'....
View ArticleConnector 1.1.19 cpp getstring error Libary generation (no replies)
Infact if string Result_BD_QUERY is local to myfunction all it's all but at the end all the object local are deleted and a error occur So I supose that connector has been generate with viusal sutdio...
View ArticleStored Procedure call fails with unhelpful error. (no replies)
I have a stored procedure set up in my MySQL instance. CREATE DEFINER=`root`@`%` PROCEDURE `testProc`( IN New_state enum('Created','Active','Cancelled','Completed','Failed','Expired','Removed'), IN...
View ArticleMySQL 8.0: Connector/C++ Master/Slave Replication (no replies)
All, I'm new to the forum and I'm using the MySQL Connector C++ and I'm looking to do easy Master/Slave replication. The post here:...
View ArticleCDK Error: Reply blocked by a previous one. (no replies)
Ever since 8.0.18 C++ connector I've been getting this error: CDK Error: Reply blocked by a previous one. 8.0.17 works great. Any idea what would throw this error?
View ArticleConnector/C++ 8.0 Get Output Parameter (1 reply)
I have a stored procedure I call which inserts a new record into database, this stored procedure has an output parameter that I use to get the new auto_increment id of the record. I'm trying to use...
View ArticleIBM DB2 migrate (Lift & Shift) to MySQL Cloud Service (no replies)
HI, I need to understand capabilities, best practices for migrating IBM DB2 version 9 (on-prem) to Oracle MySQL Cloud Service. Does anyone have experience or recommendations? thanks, -Mark
View Article