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

XCA 2.6 on macOS - mySQL ODBC issue #537

Open
Henri0404 opened this issue Mar 12, 2024 · 1 comment
Open

XCA 2.6 on macOS - mySQL ODBC issue #537

Henri0404 opened this issue Mar 12, 2024 · 1 comment

Comments

@Henri0404
Copy link

Hi,

receive this message, even the driver is installed, macOS 14.4.

Der folgende Fehler ist aufgetreten:
[iODBC][Driver Manager]Data source name not found and no default driver specified. Driver could not be loaded, IM002 QODBC: Unable to connect

#ls -l /usr/local/opt/libiodbc/lib/libiodbc.2.dylib
lrwxr-xr-x 1 root wheel 58 Mar 12 17:57 /usr/local/opt/libiodbc/lib/libiodbc.2.dylib -> /opt/homebrew/Cellar/libiodbc/3.52.16/lib/libiodbc.2.dylib

Thanks

Henri

@chris2511
Copy link
Owner

See: https://mariadb.com/kb/en/creating-a-data-source-with-mariadb-connectorodbc/

You need at least mariadb-connector-odbc and a .odbc.ini like this in your home directory:

[Default]
Description = MariaDB Driver
Driver      = /opt/homebrew/lib/mariadb/libmaodbc.dylib
Database    = xca
Server      = mariadbsql.local

Afterwards a

isql -v Default <sqluser> <sqlpass>

worked.
But: xca did not:

Error: The following error occurred:
?????????????????

and I have no clue why. Maybe it works for you.

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