1、tomcat中sql语句
用户名 pdmis 密码pdmis
create USER pdmis IDENTIFIED BY pdmis;
grant create session to pdmis;
grant unlimited tablespace to pdmis;
grant connect,dba,resource to pdmis;
2、cmd 语句
sqlplus system/system@orcl as sysdba; //先用system登陆
create user pdmis identified by pdmis; //创建名称密码
GRANT RESOURCE,DBA,CONNECT TO pdmis; //赋值
sqlplus pdmis/pdmis@orcl as sysdba; //登陆看看 成不成功