zoukankan      html  css  js  c++  java
  • ORACLE导入数据库详细步骤

    登录PLSQL

    点击然后打开命令窗口执行命令

    创建表空间(红色字体是你需要创建表空间的地址,蓝色的是表空间大小)

    create temporary tablespace ZJY_TEMP 

    tempfile '/usr/u01/app/oradata/orcl/COUP'

    size 500m

    autoextend on 

    next 500m maxsize 20480m 

    extent management local; 

    在表空间内创建用户(本次使用了3个用户,红色的是用户名,蓝色的是表空间名)

    create user fe_base5 identified by "oracle" default tablespace COUP;

    create user fe_ap5 identified by "oracle" default tablespace COUP;

    create user fe_erp identified by "oracle" default tablespace COUP;

    给用户授权(给你需要使用的用户授权,红色的是用户名,蓝色的是需要添加的权限)

    grant connect,resource,dba to fe_erp;

    grant connect,resource,dba to fe_ap5;

    grant connect,resource,dba to fe_base5;

    打开CMD执行导入数据库命令(蓝色的是需要导入的数据库地址)

    imp fe_base5/oracle@127.0.0.1/orcl file=D:oracleshujukufe_base5.dmp full=y;

    imp fe_app5/oracle@127.0.0.1/orcl file=D:oracleshujukufe_app5.dmp full=y;

    imp fe_erp/oracle@127.0.0.1/orcl file=D:oracleshujukufe_erp.dmp full=y;

  • 相关阅读:
    2019-05-07
    2019-04-28 问题记录
    2019-04-15 python深浅复制
    2019-04-11 统计日志重复数量
    2019-03-23 shell练习,日志统计
    问题记录2019-03-12
    问题记录2019-03-06(todo)
    回归
    Mac进行 usr/bin 目录下修改权限问题,operation not permitted
    个人的随笔心情
  • 原文地址:https://www.cnblogs.com/zym2000/p/11170127.html
Copyright © 2011-2022 走看看