默认的scott用户是被锁定的,先解锁就能登陆上了。 使用下面的语句解锁scott: Java代码 alter user scott account unlock; alter user scott account unlock; 解锁之后可能会要求你该密码: Java代码 alter user scott identified by tiger; alter user scott identified by tiger; 再登陆: Java代码 sqlplus scott/tiger sqlplus scott/tiger 就能登陆了 用命令行启用帐户 先解锁后 一定要设密码 不然还是无法登陆 最后要进行提交。 相关文章: 2021-10-20 2022-12-23 2021-11-09 2021-09-19 2022-12-23 2021-10-10 2021-10-26