In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you how to use the DOS command line to connect to the oracle database in the WINDOWS system, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
DOS command line connects to oracle database
Suppose you have an Oracle database with the following information:
IP:192.168.0.1
SID:orcl
Port number: 1521
User name: testuser
Password: 123456
The service name configured in the local client is: server1
1. Connect to the database through the service name
Sqlplus userName/userPassword@netServiceName
Example: sqlplus testuser/123456@server1
2. Connect to the database through IP:
Sqlplus userName/userPassword@//IP:port/SID
Example: sqlplus testuser/123456@//192.168.0.1:1521/orcl
After entering the command, the message in the yellow part of the following figure appears, indicating that the database is connected.
Oracle service operation
Start the service
Net start oracleservicebinbo
Turn on the listener
Lsnrctl start
Shut down the server
Net stop oracleservicebinbo
Turn off the listener
Lsnrctl stop
The above is how to use the DOS command line to connect to the oracle database in the WINDOWS system. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.