Hi Olivier, thanks for the report - I can confirm that this triggers the issue:
$ apt install python3-pyqt5 python3-pyqt5.qtsql libqt5sql5-mysql $ cat > test.py << EOF #!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys from PyQt5.QtWidgets import QApplication from PyQt5.QtSql import QSqlDatabase
app = QApplication(sys.argv) db = QSqlDatabase.addDatabase("QMYSQL") EOF $ python3 test.py
And also that I can switch in/out of the behavior between versions 8.0.21-0ubuntu0.20.04.3 / 8.0.19-0ubuntu5 of libmysqlclient21.
Hi Olivier,
thanks for the report - I can confirm that this triggers the issue:
$ apt install python3-pyqt5 python3-pyqt5.qtsql libqt5sql5-mysql
$ cat > test.py << EOF
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
from PyQt5.QtWidgets import QApplication
from PyQt5.QtSql import QSqlDatabase
app = QApplication( sys.argv) addDatabase( "QMYSQL" )
db = QSqlDatabase.
EOF
$ python3 test.py
And also that I can switch in/out of the behavior between versions 8.0.21- 0ubuntu0. 20.04.3 / 8.0.19-0ubuntu5 of libmysqlclient21.