首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux学习札记之五:oracle

2012-07-26 
linux学习笔记之五:oracle一、启动oracle服务以oracle用户登录linux,可以在/etc/passwd中查看到有没有oracl

linux学习笔记之五:oracle
一、启动oracle服务
以oracle用户登录linux,可以在/etc/passwd中查看到有没有oracle用户
如果不知道oracle用户密码,可以以root账号进行重置。
#:passwd oracle

oracle用户登录后执行:
sqlplus / nolog //进入sqlshell
SQL> conn /as sysdba
SQL>startup

二、关闭oracle服务
由上面的方式进入sql shell
SQL>shutdown immediate


三、监听
如果连接时出现:TNS:无监听程序

START_ORACLE_DB="yes"## Path:        Productivity/Databases/Tools/Oracle/DB## Type:        yesno## Default:     no## Enable clients on other computers to connect to the database#START_ORACLE_DB_LISTENER="yes"


热点排行