日期:2014-05-16  浏览次数:20515 次

Oracle 创建表空间、用户、用户授权
create tablespace wan_lin datafile 'D:\oracle\product\10.1.0\oradata\orcl\wan_lin.dbf' size 500M;

create user dwl identified by "123456" default tablespace wan_lin;

grant connect to dwl;
grant dba to dwl;
grant sysdba to dwl;


# tnsnames.ora Network Configuration File: D:\oracle\product\10.1.0\Db_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 6da5a8f048084e7)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )