I started to learn about Oracle, so today I plan to install Oracle 10 Gb. After the installation is complete, test whether the job works normally.
During installation, the global database configured is tmt.
However, when using SQL Plus to log on, the user name is scott, the password is tiger, and the host string is tmt. But it always fails to log on, reporting that the ora-12154tns cannot parse the specified connection identifier. My TNSNAMES. ORA file has no tmt configuration. Add the following configuration to the TNSNAMES. ORA file:
- TMT=
- (DESCRIPTION=
- (ADDRESS_LIST=
- (ADDRESS= (PROTOCOL=TCP)(HOST=YSGH6H9W2BXHOIL)(PORT=1521))
- )
- (CONNECT_DATA=
- (SERVICE_NAME=Tmt)
- )
- )
Then, you can log on successfully.
You can also use the Net Manager graphical interface to generate the file.
As follows:
1,
2,
3,
4,
5,
6,
In this way, you can log on successfully !!!
For more information about Oracle, see Oracle topics page http://www.bkjia.com/topicnews.aspx? Tid = 12