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. ** Changed in: mysql-8.0 (Ubuntu) Status: New => Confirmed ** Changed in: mysql-8.0 (Ubuntu) Importance: Undecided => High ** Tags added: server-next ** Tags added: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1889851 Title: Driver QMysql can't be loaded To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1889851/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs