Home > Database > Mysql Tutorial > body text

Oracle还原和创建用户dmp文件

WBOY
Release: 2016-06-07 17:22:31
Original
1364 people have browsed it

利用plsql,用user名和密码登陆(用normal用户角色进行导入导出oracle数据库)

(一)判断Oracle是否连接正确

1.在本机安装一个客户端,用.net manager配置监听。

2.利用plsql,,用user名和密码登陆(用normal用户角色进行导入导出oracle数据库)

(二)数据库创建用户
1、建库

2.用SYS用户登陆创建表空间
CREATE TABLESPACE TSP_YDEMR
logging
DATAFILE 'd:\oracle\product\10.2.0\oradata\yidanemr\TSP_TPEMR.DBF'
SIZE 32m
AUTOEXTEND ON
NEXT 32m
EXTENT MANAGEMENT LOCAL;

3.创建用户
create user yidandba identified by sa
default tablespace TSP_YDEMR;

4.给用户授予权限
grant connect,resource,dba to yidandba;

5.用imp导入备份数据库

linux

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template