1, open the Command line window
#db2cmd
2, open the control center
# Db2cmd DB2CC
3. Open Command Editor
Db2cmd Db2ce
===== Operations Database Command =====
4, start the database instance
#db2start
5. Stop database instance
#db2stop
If you can't
This article is a detailed summary of DB2 Common operation commands, to share with you. For the use of DB2 friends can refer to the following.
The DB2 database management client does not have a control center since the v9.7 version, but instead
This article summarizes the common operation commands of DB2 and shares them with you. For friends who use DB2, refer to the following.The DB2 database management client is no longer with the control center since the v9.7 version, but instead uses
1. Open the command line window
# Db2cmd
2. Open the Control Center
# Db2cmd db2cc
3. Open the command editor.
Db2cmd db2ce
===== Operation database commands ====
4. Start a database instance# Db2start
5. Stop a database instance# Db2stop
If
Go from DB2 script House: http://www.jb51.net/article/20497.html1. Open the Command Line window#db2cmd2. Open the control center# Db2cmd DB2CC3. Open the Command editorDb2cmd Db2ce===== Operation Database Command =====4. Start the DB
Recently has been doing database optimization this business, found themselves a lot of DB2 commands are forgotten, and even useless, and sometimes become a bottleneck in the efficiency of the work, 工欲善其事, its prerequisite, so did the following
Http://www.jb51.net/list/list_155_1.htm
1. Open the command-line window #db2cmd2. Open the control center# Db2cmd DB2CC3. Open the Command editorDb2cmd Db2ce===== Operation Database Command ===== 4. Start the DB instance#db2start 5. Stop the DB
1. Open the Command Line window#db2cmd2. Open the control center# Db2cmd DB2CC3. Open the Command editorDb2cmd Db2ce===== Operation Database Command =====4. Start the DB instance#db2start5. Stop the DB instance#db2stopIf you cannot stop the database
1. Open the Command Line window#db2cmd2. Open the control center# Db2cmd DB2CC3. Open the Command editorDb2cmd Db2ce===== Operation Database Command =====4. Start the DB instance#db2start5. Stop the DB instance#db2stopIf you cannot stop the database
PS: Need to enter DB2 's account before executing the command: Su db2inst1Modify Password: Change the corresponding operating system password, Windows can change db2admin password, linux change db2inst1 password can be, DB2 's database password is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.