singlestoredb-python icon indicating copy to clipboard operation
singlestoredb-python copied to clipboard

Release 1.12.3 broke our connection to our SingleStore DB, Release 1.12.4 fixed it.

Open Bougeant opened this issue 7 months ago • 1 comments
trafficstars

Hi,

Just a heads up that our connection to our SingleStore DB was broken yesterday, following release v1.12.3. We had to pin it to v1.12.2 to solve the issue. It looks like your latest release (v1.12.4) fixed it.

Here's the error we had:

singlestoredb.exceptions.OperationalError: 2563: Cannot set utf8mb4 character set to a session value that differs from the global value of the variable. Use SET GLOBAL to change the character set globally and then SET SESSION to change the session value to match

What is the best practice here? Should we set charset to utf8 when we pass connection arguments? We'd like to make sure we're set up so this doesn't happen again.

Bougeant avatar Apr 03 '25 09:04 Bougeant