MapServer / mapcache

MapCache source code directory. Please submit pull requests to the 'main' branch.
https://mapserver.org/mapcache
Other
137 stars 96 forks source link

BerkeleyDB: problems opening database with dbsql utility #58

Open jmckenna opened 11 years ago

jmckenna commented 11 years ago
  Error: file is encrypted or is not a database
D:\ms4w\tmp\ms_tmp\cache\my-mapache.db:BDB1014 D:\ms4w\tmp\ms_tmp\cache\my-mapache.db-journal\..\berkeley.db: multiple databases specified but not supported by file

Thoughts?

aeichner commented 10 years ago

Mapcache uses the traditional BerkeleyDB API where as dbsql is used to interact using the SQL API. See http://www.oracle.com/technetwork/database/berkeleydb/overview/sql-160887.html for more. Using dbsql to examine a BDB cache simply won't work.