ORA-28009:connection as SYS should be as SYSDBA OR SYSOPER解决方法
作者:互联网
错误提示里的大致意思:作为sys的连接应该是SySDBA或Sysopor
所以,我们在登录的时候,可以试一下:sys as sysdba
//数据库连接地址 private static String url="jdbc:oracle:thin:@192.168.1.180:1521:orcl"; //用户名 private static String username= "sys as sysdba"; //密码 private static String password ="admindljjk"; //驱动名称 private static String jdbcName = "oracle.jdbc.OracleDriver";
标签:jdbc,String,28009,SYSOPER,private,should,sys,static,sysdba 来源: https://www.cnblogs.com/hailexuexi/p/15062077.html