如何在 H2 控制台中取回 "H2" 选项?

How can I get the choice "H2" back in the H2 consol?

我不小心从 H2 控制台删除了 H2(嵌入式)和 H2(服务器)的条目。下面显示的保管箱允许您 select 您想要连接的数据库类型 to/create。有一个按钮允许您删除条目,我用它删除了 H2 的条目。我已经卸载并重新安装了 H2,但没有得到我删除的数据库类型。我该怎么办?

您可以删除 the file .h2.server.properties in the user home directory,然后重新启动 H2 控制台。