Home > Database > Mysql Tutorial > Linux系统下查看oracle SID的方法

Linux系统下查看oracle SID的方法

WBOY
Release: 2016-06-07 16:51:19
Original
2005 people have browsed it

如果你的server是Linux的话1. 以安装oracle的账号登陆2. 修改 .bash_profile这个文件,里面应该有一行export ORACLE_SID = your_current_s

如果你的server是Linux的话

1.  以安装Oracle的账号登陆

2.  修改 .bash_profile这个文件,里面应该有一行export ORACLE_SID = your_current_sid, 把它改成你现在的new_sid

3.  source .bash_profile    //让你的环境变量生效,如果不打这个命令的话,下次你登陆到oracle,才会生效

linux

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