月份: 2015-08

Derby 数据库的Continuum 在管理员帐号被锁定时的操作

1.) export DERBY_HOME=`cygpath -wa /cygdrive/c/Programme/derby/10.4.2.0`
2.) export
CLASSPATH=$DERBY_HOME\\lib\\derby.jar\;$DERBY_HOME\\lib\\derbytools.jar
3.) export PATH=`cygpath -ua $DERBY_HOME`/bin:$PATH
4.) ij.bat
4a.) connect
‘jdbc:derby:/usr/local/continuum/data/databases/users’;
4b.) select * from sa.jdouser;
4c.) update sa.jdouser set encoded_password = ‘<some other user’s password>’
where username = ‘admin’;
4d.) update sa.jdouser set count_failed_login_attempts = 0 where username =
‘admin’;
4e.) commit;
4f.) exit;