PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → HFSQL Connection with Python
HFSQL Connection with Python
Débuté par Raphaël Vignes, 22 jan. 2021 13:30 - Aucune réponse
Posté le 22 janvier 2021 - 13:30
Hello,
I want to connect to a HFSQL database with the windev driver and using the odbc pyodbc python client (the only one I know).
I'm using Ubuntu and python 3.8.


Since the HFSQL driver can only be installed with the iODBC driver manager, I uninstalled unixODBC and installed iODBC. Then I successfully tested the connection with iodbctest.
But then I block on the use of pyodbc with iODBC.
Natively, pyodbc interfaces only with UnixODBC and the solutions proposed here:
https://github.com/mkleehammer/pyodbc/issues/444 and here https://github.com/mkleehammer/pyodbc/tree/444-iodbc are not functional.
Has anyone managed to use the HFSQL driver with pyodbc (or another python package? ).
Thanks in advance!


Translated with www.DeepL.com/Translator (free version)