每当我重新启动HSQLDB服务器时,是否必须每次都设置HSQLDB SA密码吗? [英] Must I set HSQLDB SA password every time whenever I restart HSQLDB server?
问题描述
我以服务器模式启动了HsqlDB,并设置了管理员帐户SA的密码.然后我关闭了服务器.然后,我再次启动服务器,但是密码消失了.每当我重新启动HSQLDB服务器时,是否必须每次都重新设置HSQLDB SA密码吗?如何自动设置密码?
I started HsqlDB in server mode and set password for administrator account SA. Then I shutted down the server. Then I started the server again, but the password was gone. Must I set HSQLDB SA password again every time whenever I restart HSQLDB server? How to make the password set automatically?
推荐答案
密码(在最新版本中,密码哈希)存储在.script文件中.但是,设置密码后应执行CHECKPOINT,否则在某些版本中可能不会保存该密码.
The password (in latest versions, the password hash) is stored in the .script file. But you should perform CHECKPOINT after you set the password, otherwise it is may not be saved in some versions.
这篇关于每当我重新启动HSQLDB服务器时,是否必须每次都设置HSQLDB SA密码吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!