Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.0
-
None
Description
Hello,
I recently upgraded my app Qt version from 5.15.2 to 6.2. I can connect to any MySQL database successfully using Qt MySQL Driver but I always get this message while doing so:
MySQL: Unable to set the client character set to utf8 (""). Using 'utf8' instead.
I didn't specify any character set in the connection options:
db = QSqlDatabase::addDatabase("QMYSQL", "DbOp"); db.setHostName("hostname.com"); db.setUserName("developer"); db.setPassword("password"); db.setDatabaseName("database_name");
I didn't have this message with Qt 5.15.2. I reported the issue to the driver compiler and he pointed to Qt.