OS: Windows 10 Pro 64 bit
LibreOffice: 6.3.6.2 (x64)
I am trying to use LibreOffice Base to query the MediaMonkey database which is an SQLite database file.
I installed both the Win32 and X64 SQLite drivers, and then set up an ODBC data source pointing at the MM.db file. By experiment I have found that only the x64 SQLite3 driver will open the database, using any of the 32 bit drivers generates an out of memory error when you try to test the ODBC connection.
The SQLite3 x64 ODBC driver can open the db file and see the table structure etc. I can even run a really simple SQL query, created from the Query Design view, such as-
SELECT "SongTitle" FROM "Songs"
However as soon as I enter any qualifying or filtering clauses such a WHERE or GROUP BY, e.g.-
SELECT COUNT("SongTitle") FROM "Songs" GROUP BY "Custom1"
The query fails to run with the error:
no such collation sequence: IUNICODE (1)
Notice the capitalised name here is “IUNICODE” not “UNICODE”. Is this a simple case of a typo in a hard coded string somewhere? I did not need to enter a collation sequence name during the setup, so I can’t tell where the data is coming from.
Any ideas on how to debug or fix this would be welcome.