DOS窗口中连接Oracle,创建用户,授权

环境

1.确认本机中有sqlpuls(安装oracle自动安装了的)

命令

1.连接:(打开cmd)

sqlplus  testuser/123456@//192.168.0.1:1521/orcl

在这里插入图片描述
2.创建用户,并授权

grant create session to test;                             //授权test用户登录权限。

grant connect,create view ,resource  to test;    //给表提供创建试图等权限

grant create table to test; //授权创建表


版权声明:本文为ALearrring原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。