Ready to start learning Oracle in 51, so today we're going to install Oracle 10g. After the installation is done to test whether it will work properly.
During the installation process, the configured global database is TMT.
But when using SQL Plus to log in, Username: Scott, password: Tiger, host string: TMT. But always landing not on, the newspaper prompts Ora-12154tns cannot resolve the specified connection identifier. Baidu, the original is my Tnsnames.ora file does not have TMT related configuration. The following configuration is added to the Tnsnames.ora file:
The code is as follows |
Copy Code |
TMT = (DESCRIPTION = (Address_list = (address = (PROTOCOL = TCP) (HOST = ysgh6h9w2bxhoil) (PORT = 1521)) ) (Connect_data = (service_name = TMT) ) ) |
And then landing, you can log on successfully.
Of course, you can also use the Net Manager graphical interface to generate the file.
As follows:
1,
2,
3,
4,
5,
6,