MySQL Forums
Forum List  »  Connector/C++

Re: connector 8 Session exception
Posted by: Rafal Somla
Date: April 26, 2019 08:12AM

Hi Reha,

First, you are not doing anything wrong - it should work! We have seen similar issue once and it would be interesting to nail it down. Also, last time we saw it, it was gone after upgrading to our latest 8.0.16 code, but this might be not yet available to you (but should be in a matter of days). We have substantially refactored our string handling in this 8.0.16 version, so I very much hope it will not have such issues.

In the meantime, it would be interesting to see what server version you are using and what collations are used for your connection. If possible, try to connect to your server from cmd line client and issue these SQL statements:

show variables like '%collation%';
show variables like '%version%';

Another interesting piece of information is a full stack trace leading to the exception thrown in Impl::from_utf8(). If possible, can you see what data is passed to this function (the 'from' string)?

Options: ReplyQuote


Subject
Views
Written By
Posted
2635
April 23, 2019 07:11PM
1116
April 24, 2019 05:02PM
1103
April 25, 2019 04:24PM
1066
April 26, 2019 03:08AM
1279
April 26, 2019 03:29AM
1137
April 26, 2019 07:56AM
Re: connector 8 Session exception
1055
April 26, 2019 08:12AM
1187
April 26, 2019 11:04AM
1136
April 26, 2019 11:07AM
1111
April 30, 2019 08:16AM
2265
May 05, 2019 11:40AM
1066
November 27, 2019 10:51PM
918
November 28, 2019 03:49AM
1009
February 03, 2020 12:21PM
776
February 04, 2020 09:13AM
858
February 07, 2020 01:03PM
853
February 11, 2020 12:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.