{"id":565,"date":"2020-03-14T21:51:22","date_gmt":"2020-03-14T13:51:22","guid":{"rendered":"http:\/\/118.25.47.203\/?p=565"},"modified":"2020-06-03T19:11:47","modified_gmt":"2020-06-03T11:11:47","slug":"plsql","status":"publish","type":"post","link":"https:\/\/blog.ywdevops.cn\/index.php\/2020\/03\/14\/plsql\/","title":{"rendered":"\u901a\u8fc7 plsql \u8fde\u63a5\u8fdc\u7a0b Oracle"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"> <strong>\u65b9\u6cd5\u4e00\uff1a\u901a\u8fc7 plsql \u5de5\u5177\u548c oracle client(\u4e0d\u662f\u5373\u65f6\u5ba2\u6237\u7aef instantclient) \u7684\u65b9\u5f0f\u6765\u8fde\u63a5 Oracle <\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e00\u3001 \u5b89\u88c5 oracle client,(\u672c\u6559\u7a0b\u5df2\u7ecf\u4e0b\u8f7d\u5e76\u89e3\u538b) <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"222\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/46-1.png\" alt=\"\" class=\"wp-image-567\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/46-1.png 574w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/46-1-300x116.png 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e8c\u3001 \u9009 \u62e9 \u7ba1 \u7406 \u5458 \u5b89 \u88c5 ,\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"241\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/47-1.png\" alt=\"\" class=\"wp-image-568\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/47-1.png 577w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/47-1-300x125.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> \u4e09\u3001\u5269\u4e0b\u7684\u5c31\u662f\u4e00\u8def\u4e0b\u4e00\u6b65\u5c31 OK\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u5728 doc \u7a97\u53e3\u6267\u884c\uff0csqlplus \u5982 \u679c \u51fa \u73b0 \u5982 \u4e0b \u8f93 \u5165 \u7528\u6237\u540d \uff0c \u5c31 \u8868 \u793a \u5b89 \u88c5 \u6210 \u529f <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"573\" height=\"163\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/3-3.png\" alt=\"\" class=\"wp-image-569\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/3-3.png 573w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/3-3-300x85.png 300w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> \u56db\u3001\u5b89\u88c5 plsql(\u672c\u6559\u7a0b Oracle \u4e3a 11gr2\uff0c\u6240\u4ee5 plsql \u4e5f\u5b89\u88c5\u4e86\u7248\u672c 11\uff0c\u5176\u4f59\u7248\u672c\u76f8\u540c)\uff0c\u5e76\u5b89\u88c5\u8bed\u8a00\u5305 \uff0c\u5b89\u88c5\u8bf4\u660e\u7701\u7565\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> \u4e94\u3001\u5b89\u88c5\u5b8c\u6210\u540e\u73b0\u5728\u5f00\u59cb\u914d\u7f6e\u8fde\u63a5\uff0c\u5b89\u88c5 Oracle client \u540e\u5df2\u7ecf\u81ea\u52a8\u5c06\u5b89 \u88c5 \u76ee \u5f55 \u6dfb \u52a0 \u5230 \u73af \u5883 \u53d8 \u91cf \u4e2d \uff0c \u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"287\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/4-3.png\" alt=\"\" class=\"wp-image-571\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/4-3.png 575w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/4-3-300x150.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> \u516d\u3001\u4e0b\u9762\u914d\u7f6e plsql ,\u70b9\u51fb\u8f6f\u4ef6\u5148\u4e0d\u767b\u9646\u7136\u540e\u5f39\u51fa\u5168\u5c40\u754c\u9762\u7136\u540e\u627e\u5230\u5de5 \u5177 &#8211; \u9996 \u9009 \u9879 &#8211; \u5982\u56fe\uff1a <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"462\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/5-3.png\" alt=\"\" class=\"wp-image-572\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/5-3.png 577w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/5-3-300x240.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e03\u3001 \u914d\u7f6e\u5b8c plsql \u4e4b\u540e\u73b0\u5728\u914d\u7f6e\u8fde\u63a5 Oracle \u6570\u636e\u5e93\u7684\u4fe1\u606f\uff0c\u8fdb\u5165 oracle dlient \u5b89\u88c5\u76ee\u5f55\u627e\u5230 network \u4e0b\u7684 admin \u4e0b\u7684 tnsnames.ora \u6587\u4ef6\uff0c \u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"243\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/6-3.png\" alt=\"\" class=\"wp-image-573\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/6-3.png 577w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/6-3-300x126.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> \u6253 \u5f00 \u6b64 \u6587 \u4ef6 \u52a0 \u5165 \u5982 \u4e0b \u5185 \u5bb9 \uff1a <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"259\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/7-3.png\" alt=\"\" class=\"wp-image-574\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/7-3.png 574w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/7-3-300x135.png 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u516b\u3001 \u672c\u5730\u9700\u8981\u914d\u7f6e\u7684\u5df2\u7ecf\u5b8c\u6210\uff0c\u63a5\u4e0b\u6765\u68c0\u67e5\u670d\u52a1\u5668\u4e0a\u7684\u76f8\u5173\u6587\u4ef6\uff0c\u9996\u5148\u67e5\u770b Oracle \u670d \u52a1 \u5668 \u5b89 \u88c5 \u76ee \u5f55 \u4e0b \u7684 tnsnames.ora \u6587 \u4ef6 \u548c listener.ora \u6587 \u4ef6 \uff0c\u5982\u4e0b \uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"249\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/8-3.png\" alt=\"\" class=\"wp-image-575\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/8-3.png 576w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/8-3-300x130.png 300w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"579\" height=\"244\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/9-3.png\" alt=\"\" class=\"wp-image-576\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/9-3.png 579w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/9-3-300x126.png 300w\" sizes=\"auto, (max-width: 579px) 100vw, 579px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> \u5982\u679c\u914d\u7f6e\u6587\u4ef6\u4e2d\u7684 host \u540e\u9762\u7684\u503c\u548c\u672c\u673a\u540d\u4e0d\u4e00\u6837\u90a3\u4e48\u542f\u52a8\u76d1\u542c\u4f1a\u62a5\u9519\u6216\u8005\u65e0 \u6cd5\u8fde\u63a5\uff0cwindow \u4e5f\u662f\u4e00\u6837\u8981\u548c\u672c\u673a\u540d\u4e00\u6837\uff0c\u5982\u679c\u662f Linux \u7cfb\u7edf\u8fd8\u8981\u5982\u679c\u4fee\u6539 \u4e86\u672c\u673a \u540d \u5b57 \u8fd8 \u8981 \u4fdd \u8bc1 \/etc\/hosts \u4e0b \u6709 \u6dfb \u52a0 \u8bb0 \u5f55 \uff0c \u5982 \u56fe \uff0c ( \u672c \u673a IP \u4e3a 192.168.240.139)  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"116\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/10-3.png\" alt=\"\" class=\"wp-image-577\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/10-3.png 575w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/10-3-300x61.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e5d\u3001 \u6b64\u5904\u4fee\u6539\u5b8c\u5269\u4e0b\u7684\u5c31\u662f\u67e5\u770b\u7aef\u53e3 1521 \u662f\u5426\u5f00\u542f\uff0cwindow \u53ef\u4ee5\u5728\u9632\u706b\u5899\u4e2d\u5f00 \u653e\u7aef\u53e3 ,linux \u4e5f \u53ef \u4ee5 \u901a \u8fc7 \u547d \u4ee4 firewall-cmd &#8211;zone=public &#8211;add-port=1521\/tcp &#8211;permanent \u6765\u5f00\u542f\uff0c\u5e76\u91cd\u542f\u9632\u706b\u5899\uff0c \u7136\u540e\u53ef\u4ee5\u67e5\u770b 1521 \u7aef \u53e3 \u4fe1 \u606f \uff0c \u4f7f \u7528 \u547d \u4ee4 netstat \u2013n \u2013a <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"387\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/11-3.png\" alt=\"\" class=\"wp-image-578\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/11-3.png 572w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/11-3-300x203.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5341\u3001 \u524d\u9762\u5982\u679c\u662f 127.0.0.1 \u90a3\u53ea\u80fd\u672c\u5730\u8fde\u63a5\uff0c\u4e0d\u53ef\u4ee5\u8fdc\u7a0b\u8fde\u63a5\u7aef\u53e3\uff0c\u524d\u9762\u53ea\u6709\u90fd\u662f 0 \u7684\u65f6\u5019\u624d\u53ef\u4ee5\u4f7f\u7528\u8fdc\u7a0b\u8fde\u63a5,\u53ef\u4ee5\u4f7f\u7528 telnet \u6765\u6d4b\u8bd5 1521 \u7aef\u53e3\u662f\u5426\u5f00\u542f\uff0c window \u4e5f\u662f\u4e00\u6837\u4e0a\u8ff0\u90fd\u641e\u5b9a\u4e4b\u540e\u6253\u5f00 plsql <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"572\" height=\"263\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/13-4.png\" alt=\"\" class=\"wp-image-581\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/13-4.png 572w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/13-4-300x138.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5341\u4e00\u3001 \u8f93 \u5165 \u7528\u6237\u540d\u5bc6\u7801\u8fdb\u884c\u8fde\u63a5 \uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"571\" height=\"189\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/14-3.png\" alt=\"\" class=\"wp-image-582\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/14-3.png 571w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/14-3-300x99.png 300w\" sizes=\"auto, (max-width: 571px) 100vw, 571px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> <strong>\u65b9\u6cd5\u4e8c\uff1a\u901a\u8fc7 plsql \u548c oracle \u5373\u65f6\u5ba2\u6237\u7aef(instantclient)\u6765\u8fde\u63a5 oracle \u6570\u636e\u5e93 \u4e0b \u8f7d \u5373 \u65f6 \u5ba2 \u6237 \u7aef ( \u57fa \u672c \u7248\u5373\u53ef ) <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"561\" height=\"145\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/15-4.png\" alt=\"\" class=\"wp-image-585\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/15-4.png 561w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/15-4-300x78.png 300w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> \u514d\u5b89\u88c5\uff0c\u89e3\u538b\u5c31\u53ef\u4ee5\u7528\uff0c\u4f46\u662f\u9700\u8981\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> \u4e00\u3001\u89e3\u538b\u540e\u5728\u76ee\u5f55\u4e0b\u521b\u5efa network \u76ee\u5f55\uff0c\u5728 network \u76ee\u5f55\u4e0b\u521b\u5efa admin \u76ee\u5f55\uff0c\u7136\u540e\u521b\u5efa tnsnames.ora \u6587\u4ef6\uff0c\u5e76\u52a0\u5165\u5185\u5bb9(\u4e0a\u9762\u6709\u793a\u4f8b)\uff0c\u7136\u540e\u914d\u7f6e plsql\uff0c\u914d\u7f6e\u65b9\u6cd5\u548c\u65b9\u6cd5\u4e00\u76f8\u540c \u63a5\u4e0b\u6765\u9700\u8981\u914d\u7f6e\u73af\u5883\u53d8\u91cf\uff0c\u5b89\u88c5\u7248\u7684\u73af\u5883\u53d8\u91cf\u5df2\u7ecf\u914d\u7f6e\u597d\u4e86\uff0c\u4f46\u662f\u6b64\u514d\u5b89\u88c5\u7248\u7684\u9700\u8981\u914d \u7f6e\u4e0b\u73af\u5883\u53d8\u91cf\uff0c \u5c06\u8fd9\u4e2a\u76ee\u5f55\u6dfb\u52a0\u5230\u73af\u5883\u53d8\u91cf path \u4e2d \uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"225\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/16-4.png\" alt=\"\" class=\"wp-image-586\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/16-4.png 558w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/16-4-300x121.png 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"550\" height=\"163\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/17-4.png\" alt=\"\" class=\"wp-image-587\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/17-4.png 550w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/17-4-300x89.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> \u4e8c\u3001\u5c06 tnsname.ora \u6240\u5728\u4f4d\u7f6e\u52a0\u5165\u73af\u5883\u53d8\u91cf\u4e2d\uff0c\u5982\u4e0b\uff1a <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"555\" height=\"212\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/18-4.png\" alt=\"\" class=\"wp-image-588\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/18-4.png 555w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/18-4-300x115.png 300w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> \u4e09\u3001\u5982\u679c\u51fa\u73b0\u4e71\u7801\u5219\u53ef\u4ee5\u5728\u5728\u73af\u5883\u53d8\u91cf\u4e2d\u6dfb\u52a0\u5982\u4e0b\u5185\u5bb9\uff1a <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"568\" height=\"158\" src=\"http:\/\/118.25.47.203\/wp-content\/uploads\/2020\/03\/19-4.png\" alt=\"\" class=\"wp-image-589\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/19-4.png 568w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2020\/03\/19-4-300x83.png 300w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u56db\u3001 \u672c\u5730 plsql \u548c\u73af\u5883\u53d8\u91cf\u4ee5\u53ca tnsname.ora \u90fd\u914d\u7f6e\u5b8c\u6bd5\uff0c\u63a5\u4e0b\u6765\u8fd8\u662f\u548c\u65b9\u6cd5\u4e00\u7684\u6b65\u9aa4\u4e00\u6837\u68c0 \u67e5 oracle \u6240\u5728\u670d\u52a1\u5668\u7684\u4fe1\u606f\uff0c\u5305\u62ec\u7aef\u53e3\u662f\u5426\u5f00\u542f\uff0c\u76d1\u542c\u662f\u5426\u5f00\u542f\uff0coracle \u5b9e\u4f8b\u662f\u5426\u542f\u52a8 \u4ee5\u53ca\u914d\u7f6e\u6587\u4ef6 listener.ora \u4ee5\u53ca tnsname.ora \u914d\u7f6e\u662f\u5426\u6b63\u786e(host \u548c\u672c\u673a\u540d\u8981\u4e00\u6837) \u6240\u6709\u7684\u68c0\u67e5\u6ca1\u95ee\u9898\u540e\u53ef\u4ee5\u4f7f\u7528 plsql \u8fdb\u884c\u94fe\u63a5\uff0c\u65b9\u6cd5\u548c\u4e0a\u9762\u4e00\u6837 \u6ce8:\u67e5\u770b\u76d1\u542c\u662f\u5426\u542f\u52a8\u8981\u9996\u5148\u8fdb\u5165 oracle \u7528\u6237\u4e0b\uff0csu \u2013 oracle \u7136\u540e\u6267\u884c\u547d\u4ee4 lsnrctl status \u53ef\u4ee5\u67e5\u770b\uff0c\u5982\u679c\u4e3a\u542f\u52a8\u5219\u6267\u884c\u547d\u4ee4 lsnrctl start \u542f\u52a8\u76d1\u542c\uff0c\u7136\u540e\u6267\u884c sqlplus \/as sysdba \u767b\u5f55(\u5df2 dba \u7684\u6743\u9650\u767b\u5f55) \u7136\u540e\u6267\u884c startup \u6765\u5f00\u542f\u6570\u636e\u5e93\u5b9e\u4f8b\uff0c\u5982\u679c\u5173\u95ed\u6570\u636e\u5e93\u5b9e\u4f8b\u53ef \u4ee5\u6267\u884c shutdown immediate(\u4e5f\u8981 dba \u6743\u9650\u624d\u53ef\u4ee5\u5176\u4f59\u4e0d\u884c),windows \u65b9\u6cd5\u4e00\u6837\uff0cwindow \u4e5f\u53ef\u4ee5\u53bb\u670d\u52a1\u91cc\u5f00\u542f\u76d1\u542c \u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65b9\u6cd5\u4e00\uff1a\u901a\u8fc7 plsql \u5de5\u5177\u548c oracle client(\u4e0d\u662f\u5373\u65f6\u5ba2\u6237\u7aef instantclient) \u7684 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":648,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,25],"tags":[71],"class_list":["post-565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oracle","category-database","tag-oracle"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/565","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/comments?post=565"}],"version-history":[{"count":6,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/565\/revisions"}],"predecessor-version":[{"id":590,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/565\/revisions\/590"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media\/648"}],"wp:attachment":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media?parent=565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/categories?post=565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/tags?post=565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}