摘要: 忘记密码操作的方法:1.sqlplus /nolog2.conn /as sysdba--修改密码3.alter user 用户名 identified by 密码; alter user NAMEMATCHER identified by NAMEMATCHER; alter user namem 阅读全文
posted @ 2019-11-08 10:37 liutoliu 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1.报错:ORA-01516: nonexistent log file, data file, or temporary file "o1_mf_tms5_tab_twindexes.dbf"解决方法1,先关闭数据库SQL> shutdown immediate 报错SQL> shutdown a 阅读全文
posted @ 2019-11-08 10:36 liutoliu 阅读(973) 评论(0) 推荐(0) 编辑
摘要: SQL>CREATE BIGFILE TABLESPACE 表名datafile 'd:\ndo\ddo\表名.DBF‘SIZE 500M AUTOEXTEND ON; SQL>Create Bigfile tablespace bf_images_xpdatafile 'e:\datacenter 阅读全文
posted @ 2019-11-08 10:36 liutoliu 阅读(5186) 评论(0) 推荐(0) 编辑
摘要: 创建用户和表空间: 1、登录linux,以oracle用户登录(如果是root用户登录的,登录后用 su - oracle命令切换成oracle用户) 2、以sysdba方式来打开sqlplus,命令如下: sqlplus / as sysdba 3、创建临时表空间: --查询临时表空间文件的绝对路 阅读全文
posted @ 2019-04-28 18:54 liutoliu 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 1.新建个用户 create user xxxxx(用户名) identified by "密码" alert user 用户名 identified by “新密码” --修改用户密码 因为新建的用户和默认的用户是锁住的,没有权限。所以新建用户后要给用户赋予权限 grant dba to 用户名 阅读全文
posted @ 2019-04-28 16:03 liutoliu 阅读(455) 评论(0) 推荐(0) 编辑
摘要: 按 Press功能 Function Ctrl + Shift + P,F1 显示命令面板 Show Command Palette Ctrl + P 快速打开 Quick Open Ctrl + Shift + N 新窗口/实例 New window/instance Ctrl + Shift + 阅读全文
posted @ 2019-04-26 16:36 liutoliu 阅读(228) 评论(0) 推荐(0) 编辑
摘要: // 基础操作 Alt+ ↑ 向上移动行 Shift+Alt + ↓ 向上复制行 Ctrl+Enter 在下面换行 (这两个快捷键:很多地方通用) Shift+Enter 在下面插入行 Ctrl+Shift+Enter 在上面插入行 Ctrl+Shift+\ 跳到匹配的括号 Ctrl+K Ctrl+ 阅读全文
posted @ 2019-04-26 16:32 liutoliu 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 报错1:Could not obtain the localhost address. The most likely cause is an error in the network configuration of this machine. 解决方法 linux 需配/etc/hosts文件, 阅读全文
posted @ 2019-04-26 16:21 liutoliu 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 概述因未设置系统环境变量ORACLE_SID导致ORA-12162错误 分析原因首先登录数据库主机执行 oerr ora 12162 我们首先查看看下 tnsnames.ora文件 执行tnsping CC命令 检查下是否可以tnsping通,核对IP和端口以及实例名 数据库服务器端使用TNSNAM 阅读全文
posted @ 2019-04-25 18:59 liutoliu 阅读(641) 评论(0) 推荐(0) 编辑
摘要: 报错1:报display相关错误 报错2:Error in invoking target'install' of makefile '/u01/app/oracle/product/10.2.0/db_1/ctx/lib/ins_ctx.mk'.See '/u01/app/oracle/oraIn 阅读全文
posted @ 2019-04-25 14:56 liutoliu 阅读(265) 评论(0) 推荐(0) 编辑