Re: connector 8 Session exception
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)?