8000 Unable to connect to an SQLite database · Issue #1115 · dbgate/dbgate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to connect to an SQLite database #1115
@thecyrilcril

Description

@thecyrilcril

I 65A2 am runing a DbGate Version: 6.4.1 on a Macbook Pro 2019.

On connection attempt, I get the following

Error: dlopen(/Applications/DbGate.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node, 0x0001): tried: '/Applications/DbGate.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Applications/DbGate.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (no such file), '/Applications/DbGate.app/Contents/Resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64'))
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2214)
    at Module._extensions..node (node:internal/modules/cjs/loader:1489:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2441)
    at Module.load (node:internal/modules/cjs/loader:1214:32)
    at Module._load (node:internal/modules/cjs/loader:1030:12)
    at c._load (node:electron/js2c/node_init:2:13672)
    at Module.require (node:internal/modules/cjs/loader:1242:19)
    at require (node:internal/modules/helpers:176:18)
    at bindings (/Applications/DbGate.app/Contents/Resources/app.asar/node_modules/bindings/bindings.js:112:48)
    at new Database (/Applications/DbGate.app/Contents/Resources/app.asar/node_modules/better-sqlite3/lib/database.js:48:64)

Error JSON: {
  "code": "ERR_DLOPEN_FAILED"
}

Connection: {
  "engine": "sqlite@dbgate-plugin-sqlite",
  "databaseFile": "***",
  "connectionColor": "***",
  "isReadOnly": false,
  "singleDatabase": true,
  "defaultDatabase": "***",
  "requestDbList": false
}

Platform: darwin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0