Oracle数据库安装及可视化工具plsql安装
原创约 648 字大约 2 分钟...
45-Oracle数据库安装及可视化工具plsql安装.md
注意
本博文仅供学术研究和交流参考,严禁将其用于商业用途。如因违规使用产生的任何法律问题,使用者需自行负责。
安装Oracle
如下图所示,安装包请自行在官网下载 本文只介绍安装步骤
















测试是否安装成功


安装Oracle 可以化工具 PLSQL








连接测试








如上图所示 能够查到ORACLE数据库自带的emp/demp 表则表明操作成功
分割线
相关信息
以上就是我关于 Oracle数据库安装及可视化工具plsql安装 知识点的整理与总结的全部内容,希望对你有帮助。。。。。。。
扩展知识
管理员账号:sys/sys as sysdba
system/sytem as sysdba
普通账号:scott/tiger
1. win+R 打开运行窗口 -> 输入sqlplus -> 回车
2.输入用户名与密码登陆oracle数据
请输入用户名: sys
输入口令:sys as sysdba
3.【问题一】权限不足 win7
计算机 -> 右键点击管理 -> 本地用户和组 -> 组 -> ora_dba ->添加登陆用户权限
【问题一】权限不足 win10
程序-oracle安装路径-配置和移植工具-Administrator assistant for windows-操作系统数据库管理员 -添加指定用户权限
4.【问题二】协议适配器错误
计算机 -> 右键点击管理 -> 服务与应用程序 -> 服务
开启数据库的监听器与服务:
① OracleOraDb11g_home1TNSListener
② OracleServiceORCL
5.已登录,可切换账号
SQL > conn scott/tiger;
已连接
SQL > select * from emp;
6.【问题三】账户被锁定:the account is locked,需管理员解锁账号
SQL > conn sys/sys as sysdba;
SQL > alter user scott account unlock;
7.【问题四】忘记密码:invalid username/password;logon denied
SQL > conn sys/sys as sysdba;
SQL > alter user scott identified by tiger;
8. SCOTT用户数据库表结构
Emp表(员工信息表)
empno 雇员编号
ename 雇员姓名
job 职位
mgr 经理编号(上级主管)
hiredate 入职日期
sal 薪水
comm 奖金
deptno 部门编号
Dept表(部门表)
deptno 部门编号
dname 部门名称
loc 所在位置
Bonus(薪资福利表):结构与emp类似
SalGrade(薪资等级表)
grade:等级
losal:开始区间值
hisal:结束区间值
分割线
Powered by Waline v2.15.4