Skip to content

qsqlmysql.dll: The specified procedure could not be found #41

@jonata

Description

@jonata

Hey there! Thanks for this repository and your hard work. Can you help me find the source of my problem, if it's on my side or a bug?

Currently, when using version 6.6.2 on my project I get an intermitent error where data is not shown on QTableView . As far as I remember, I have no problem using version 6.6.1. Turns out I changed my computer/system, so I installed everything from scratch and version 6.6.1 stopped working. I did everything according to your documentation, the plugin is found and it tries to load. But I get this error:

qt.core.library: "C:/Users/jbope/Projetos/XXXX/resources/plugins/sqldrivers/qsqlmysql.dll" cannot load: Cannot load library C:\Users\jbope\Projetos\XXXX\resources\plugins\sqldrivers\qsqlmysql.dll: The specified procedure could not be found.
qt.core.plugin.loader: QLibraryPrivate::loadPlugin failed on "C:/Users/jbope/Projetos/XXXX/resources/plugins/sqldrivers/qsqlmysql.dll" : "Cannot load library C:\Users\jbope\Projetos\XXXX\resources\plugins\sqldrivers\qsqlmysql.dll: The specified procedure could not be found."

QSqlDatabase: QMYSQL driver not loaded

QSqlDatabase: available drivers: QSQLITE QMIMER QODBC QPSQL QMARIADB QMYSQL

What could be the missing "procedure"? How can I check that?

I checked dependencies and it doesn't seem to be the problem:

image

I tried every version of PySide6 6.*, with Python versions 3.8, 3.9, 3.10, 3.11.

I also tried to copy the DLLs to a common path like windows/system32 , the project root and the python root, and nothing.

What am I missing?

Thanks for your attention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions