Connection to ODBC database (MS Access *.accdb) #24780
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Crash/Data Corruption
Data Provider
Related to specific vector, raster or mesh data providers
High Priority
Author Name: Juan Berrio (Juan Berrio)
Original Redmine Issue: 16881
Affected QGIS version: 2.14.16
Redmine category:data_provider
Problem when trying to connect to a *.accdb database via ODBC. QGIS gets frozen instead of connecting or providing an error message.
Also asked to the public in
https://gis.stackexchange.com/questions/247853/connecting-qgis-to-odbc-database-ms-access-accdb
Testing environment
Windows 7 64bit
MS Access 2016 32bit
ODBC drivers used: MS Access Database Engine 2016 32 bit (*.mdb, *.accdb)
Using ODBC 32bit config in Windows (C:\Windows\SysWOW64\odbcad32.exe)
Using QGIS 2.14.16 32bit
In QGIS, I use:
Steps to reproduce error (frozen QGIS)
Create *.accdb database in MS Access 2016.
Create ODBC connection to the database in Windows and test it works (test any other software can read it)
Add vector layer > Database > Type ODBC > New
Type ODBC > Name (name1) > Database Name (nameA)
Test Connect: "connection to x was successful"
Press OK --> QGIS gets frozen
I can read the same ODBC database from other applications (SQLite, MapInfo), so there is no problem with the ODBC side of it. It looks like something's not right on the QGIS side.
The text was updated successfully, but these errors were encountered: