Qt MySQL does not support TLS 1.2
Unsolved
General and Desktop
-
Hi
I have an MySQL Server 8.0, which supports connection with TLS =1.2 and higher . I use Qt 5.14.2 and I created an MySQL client. I am not able to connect with my server, I tried with another server which has MySQL 5.7 and it works perfectly. Can I resolve it? I didn't find option to set TLS in QSqlDatabase option. Thanks. -
See https://bugreports.qt.io/browse/QTBUG-84797
MYSQL_OPT_SSL_MODE is not yet added and when it will only be added for Qt6.6 and higher.