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

QMYSQL driver not loaded - macOS 15.3 XCA 2.8.0 #629

Open
marek-liska opened this issue Feb 4, 2025 · 1 comment
Open

QMYSQL driver not loaded - macOS 15.3 XCA 2.8.0 #629

marek-liska opened this issue Feb 4, 2025 · 1 comment

Comments

@marek-liska
Copy link

marek-liska commented Feb 4, 2025

When I try to connect to a remote database in XCA client (2.8.0) on macOS, the window only offers PostgreSQL and ODBC options, not MySQL. I'm sure I'm missing something but I don't know what.

Image

When opened in the terminal, the app prints "QMYSQL driver not loaded" so maybe it is still expecting it somewhere where it's not.

XCA_DEBUG=main.cpp /Applications/xca.app/Contents/MacOS/xca          
   000 Debug: debug_info.cpp:49 dbg_pattern::dbg_pattern New debug match  "main.cpp" "main.cpp" 0 2147483647
   001 Debug: main.cpp:131 main OSSL_PROVIDER_set_default_search_path "/Applications/xca.app/Contents/MacOS/../PlugIns"
   001 Debug: main.cpp:136 main Legacy provider loaded
   001 Debug: main.cpp:164 main wargv 1 0 /Applications/xca.app/Contents/MacOS/xca
   002 Warning: QSqlDatabase: QMYSQL driver not loaded
   002 Warning: QSqlDatabase: available drivers: QSQLITE QMARIADB QMYSQL QODBC QPSQL QMIMER
   003 Debug: main.cpp:171 main CMD Items 0
   003 Debug: main.cpp:184 main PWret 3 0 1
2025-02-04 16:48:33.620 xca[39976:608410] +[IMKClient subclass]: chose IMKClient_Modern
2025-02-04 16:48:33.620 xca[39976:608410] +[IMKInputSession subclass]: chose IMKInputSession_Modern
ls /Applications/xca.app/Contents/PlugIns/sqldrivers                 
libqsqlite.dylib	libqsqlmimer.dylib	libqsqlmysql.dylib	libqsqlodbc.dylib	libqsqlpsql.dylib
@marek-liska marek-liska changed the title no available MySQL option in macOS XCA 2.8.0 QMYSQL driver not loaded - macOS 15.3 XCA 2.8.0 Feb 4, 2025
@marek-liska
Copy link
Author

marek-liska commented Feb 10, 2025

it seems that QMYSQL plugin expects /Users/chris/build/xca-dir/install/lib/libmariadb.3.dylib

/Applications/xca.app/Contents/PlugIns/sqldrivers/libqsqlmysql.dylib (architecture arm64):
	/Users/chris/build/xca-dir/install/lib/libmariadb.3.dylib (compatibility version 3.0.0, current version 3.0.0)
	@rpath/QtSql.framework/Versions/A/QtSql (compatibility version 6.0.0, current version 6.6.3)
	@rpath/QtCore.framework/Versions/A/QtCore (compatibility version 6.0.0, current version 6.6.3)
	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit (compatibility version 1.0.0, current version 275.0.0)
	/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1800.101.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1351.0.0)

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

1 participant