Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No available SQL option #555

Closed
SteveBredebach opened this issue May 14, 2024 · 2 comments
Closed

No available SQL option #555

SteveBredebach opened this issue May 14, 2024 · 2 comments

Comments

@SteveBredebach
Copy link

I downloaded and installed the 2.6.0 Version of xca, we use a SQL database for the certificates. I added the MinGW compiled .dll files and added them in the application directory of xca. But if i try to open a network database, there is still only the ODBC option visible. Did i miss something? I already tried an older version of the driver, but xca crashes instantly with them... So i know it must be loading the SQL drivers.

grafik

@chris2511
Copy link
Owner

chris2511 commented May 14, 2024

There are 2 required drivers

  1. qsqlmysql.dll placed in the sqldrivers subdirectory, written by QT, connecting the QT-SQL interface to the MySQL C-Functions
  2. libmysql.dll placed in the application directory of xca (or any other standard DLL location), written by Oracle/mysql, implementing the MySQL C-Functions to talk to the mysql server via network or socket

Please see https://github.com/thecodemonkey86/qt_mysql_driver?tab=readme-ov-file#deployment

Once the qsqlmysql.dll is available in the sqldrivers directory, it should be selectable in the XCA GUI.
If the libmysql.dll is not available, XCA will show the error "Driver not loaded"

@SteveBredebach
Copy link
Author

Thanks for your answer!

grafik
This is my sqldrivers-folder with the qsqlmysql.dll

grafik
This is my application folder.

As you can see, both dlls are available, but neither i am getting the "Driver not loaded" error or the SQL option in the dropdown.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants