记录详细过程以备使用 Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 Connected as sys@ip:port/sid AS SYSDBA 管理员用户登录oracle数据库 1.创建临时表空间 select name from v$tempfile;查出当前数据库临时表空间,主要是使用里面的存放路径: SQL> select name from v$tempfile; NAME --------
创建表空间名 create database 空间名 default character set utf8 collate utf8_bin; 创建用户create user 用户名 identified with mysql_native_password by '密码'; 给用户赋权(上面设置了用户密码,则赋权时不需要再设置密码)grant all on 空间名.* to '用户名'@'%' identified with mysql_native_password by '密码';gran
正文原创 一:查询数据库实例有多少用户: [oracle@localhost ~]$ sqlplus / as sysdba; SQL*Plus: Release 11.2.0.3.0 Production on Thu Dec 21 10:18:39 2017 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11