Home > Database > Mysql Tutorial > body text

oracle在本地建库

WBOY
Release: 2016-06-07 15:19:40
Original
1291 people have browsed it

oracle数据库本地建库,需要使用oracle安装路径下面的-配置和移植工具-Database Configuration Assistant 通过一次点击下一步进行建库。 在库建好后,使用系统账号 User:sys password:sys Connect as SYSDBA在客户端进行登录 --创建表空间 Create tablespace

oracle数据库本地建库,需要使用oracle安装路径下面的->配置和移植工具->Database Configuration Assistant


通过一次点击下一步进行建库。

在库建好后,使用系统账号


User:sys password:sys Connect as SYSDBA在客户端进行登录


--创建表空间
Create tablespace user
   datafile 'C:\app\Administrator\oradata\dy_w.dbf' size 500M  
   autoextend on next 10m 
-- 创建用户  并指定表空间 
  create user user
   identified by user
   default tablespace user;
-- 将dba的权限 赋给 user
   grant dba to dy_w;


然后在客户端既可以登录。


将表.dmp导入到新建的数据库中。选择tools->import tables出来一个选项卡,点击“import”按钮对.dmp文件进行选择即可。


Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!