문제

I have already set a Derby DB password in Glassfish/Netbeans. I also checked the remember me checkbox.

Now I cannot change the password anymore.

도움이 되었습니까?

해결책

To change the password you only have to execute:

call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.user.<my user name>', '<your new password>')

for example if you username is 'john' and you want you new password to be 'johnsnewpassword' you would call:

call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('derby.user.john', 'johnsnewpassword')

다른 팁

Call

SYSCS_UTIL.SYSCS_RESET_PASSWORD('userid', 'newpassword');

See Built-in system procedures/ SYSCS_UTIL.SYSCS_RESET_PASSWORD in Java DB Reference Manual.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top