Bug 135297 - .accdb file wont open in Base on Linux
Summary: .accdb file wont open in Base on Linux
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-30 04:34 UTC by johnks
Modified: 2022-04-07 14:20 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
rar file containing .accdb file (2.33 MB, application/vnd.rar)
2020-07-30 04:36 UTC, johnks
Details
accdb file (27.23 MB, application/octet-stream)
2020-08-02 10:50 UTC, johnks
Details
zip containing acdb file (4.02 MB, application/zip)
2020-08-02 10:51 UTC, johnks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnks 2020-07-30 04:34:53 UTC
Description:
i have attached a sample .accdb file which double clicks fine on access 2019 but when i try to open it with base, it fails and writer opens the file as garbled.

Trying to open base and connecting to database, there is no option to connect to existing access database, it fails

Steps to Reproduce:
1. double click on .accdb file. writer opens garbled text instead of base
2. open base. no option to connect to access database
3. open odbc file. says error 

"Could not load the program library libodbc.so or it is corrupted. The ODBC data source selection is not available."

Actual Results:
base should open the file but in my ubuntu instance, i am unable to even open the file which works perfectly in access 2019.

Expected Results:
file should work


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.4.5.2
Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: kf5; 
Locale: en-IN (en_IN.UTF-8); UI-Language: en-US
Calc: threaded

Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.72.0
Qt Version: 5.14.2
Kernel Version: 4.15.0-112-generic
OS Type: 64-bit
Comment 1 johnks 2020-07-30 04:36:18 UTC
Created attachment 163754 [details]
rar file containing .accdb file
Comment 2 Xisco Faulí 2020-07-31 16:30:15 UTC
Hello Johnks,
the rar file seems to be corrupted. Please, reattach it
Comment 3 johnks 2020-08-02 10:50:56 UTC
Created attachment 163879 [details]
accdb file
Comment 4 johnks 2020-08-02 10:51:46 UTC
Created attachment 163880 [details]
zip containing acdb file
Comment 5 Alex Thurgood 2020-08-26 08:30:07 UTC
My understanding was that LibreOffice can't open .accdb files on Linux. The only way to achieve this was, as far as I know, via UCanAccess :

http://ucanaccess.sourceforge.net/site.html


Setting as request for enhancement, nice to have, but don't hold your breath.
Comment 6 Timur 2022-04-07 14:20:46 UTC
I think it's next to impossible that LO will make Linux driver for ACCDB, when it didn't do it in Windows, but relies on MS drivers (which don't work BTW directly nor ODBC for accdb).

With this solution of UCanAccess JDBC driver nothing more should be expected. 
It uses Jackcess.

Other solution is to export Access to CSV like https://github.com/pavlov99/mdb-export-all.