简体   繁体   English

为什么我不能使用 DB Manager 连接到 ElevateDB 数据库(所以我可以导出表)?

[英]Why can't I connect to ElevateDB database using DB Manager (so I can export tables)?

I am trying to save user data that has been entered and saved in a proprietary program.我正在尝试保存已输入并保存在专有程序中的用户数据。 The program hasn't been updated for about eight years, the company behind it does no longer exist and no support is available.该程序大约八年没有更新,它背后的公司已不复存在,也没有可用的支持。 I have the old program installed and it can be used to open and edit the data but there is no way to export it.我安装了旧程序,可用于打开和编辑数据,但无法导出。 From the file names, the data seems to be stored in an ElevateDB database.从文件名来看,数据似乎存储在 ElevateDB 数据库中。 The following files exists:存在以下文件:

  • EDBConfig.EDBCfg - Configuration EDBConfig.EDBCfg - 配置
  • EDBConfig.EDBLog EDBConfig.EDBLog
  • EDBDatabase.EDBCat - Database catalog EDBDatabase.EDBCat - 数据库目录

And a couple of files for tables:还有几个表文件:

  • *.EdbTbl - table rows *.EdbTbl - 表格行
  • *.EDBIdx - table indexes *.EDBIdx - 表索引
  • *.EDBBlb - blob data *.EDBBlb - blob 数据

I have downloaded ElevateDb Manager, hoping that I would be able to export the tables from there.我已经下载了 ElevateDb Manager,希望能够从那里导出表。 But I am not able to connect to the database.但是我无法连接到数据库。 I am able to "connect session" but there are no databases listed.我能够“连接会话”,但没有列出数据库。 After I have connected I can see that some new files have been created:连接后,我可以看到已经创建了一些新文件:

  • EDBConfig.EDBCfg.Old EDBConfig.EDBCfg.Old
  • EDBConfig.EDBLck EDBConfig.EDBLck
  • EDBDatabase.EDBCat.Old EDBDatabase.EDBCat.Old
  • EDBDatabase.EDBLck. EDBDatabase.EDBLck。

And EDBConfig.EDBLog size has been increased.并且 EDBConfig.EDBLog 大小已增加。

So DbManager does "something" with the database.所以 DbManager 对数据库做了“某事”。

I am using the default "Administrator" - "EDBDefault" credentials.我正在使用默认的“管理员”-“EDBDefault”凭据。 I think that if the problem was that the DB was protected with a custom password then DbManager would show a login error.我认为如果问题是 DB 受自定义密码保护,那么 DbManager 会显示登录错误。

I also tried to use the ODBC driver with a similar result, it is not possible to select this database.我也尝试使用 ODBC 驱动程序,结果类似,无法选择此数据库。

I found a way to do it:我找到了一种方法:

  • Create a new session in DB Manager在 DB Manager 中创建一个新会话
  • Add a new database添加新数据库
  • Close the session关闭会话
  • Replace database files with the actual database but keep the session files用实际数据库替换数据库文件但保留会话文件
  • Connect to the session and now the database is there连接到会话,现在数据库就在那里

I guess the database absolute path is stored in the session files and that was messed up in some way.我猜数据库绝对路径存储在会话文件中,并且以某种方式搞砸了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM