如何在数据库中解锁hybris?

How to unlock hybris in the DB?

要在非生产环境(从生产)中刷新数据,我收到了一个需要导入的数据库转储,更新管理员密码和 'unlock' hybris - 如果部署会容易得多这个新环境在部署发生之前已解锁,因此我可以执行 'update running system'。是否可以在 Hybris 启动之前通过更改数据库来解锁 Hybris?

update props set valuestring1='0' where name='system.locked';

delete from props where name='system.locked';

转到管理面板 console/flexiblesearch 部分并选择 SQL 查询 不灵活的查询 然后检查您是否通过此代码锁定了任何数据库

select * from SYSTEMINIT;

当检查集群时,您可以集群节点,并尝试通过此代码终止进程

delete from SYSTEMINIT where CLUSTERNODE='?YourClusterNodeNumber';

希望对您有所帮助。