# Resetting the Database CHANGELOGLOCK
URL: https://docs.valsight.ai/resetting-the-database-changeloglock/
Description: If the Valsight Server process gets interrupted during a regular startup, the database may end up in a locked state.
If the Valsight Server process gets interrupted during a regular startup, the database may end up in a locked state.

To remove the lock, run the following query on the database.

```sql
UPDATE DATABASECHANGELOGLOCK SET LOCKED=false, LOCKGRANTED=null, LOCKEDBY=null where ID=1;
```
