PHP PEAR中Database(DB)使用介绍

论坛 期权论坛     
选择匿名的用户   2021-5-30 01:59   259   0
<h5 style="MARGIN: 14pt 0cm 14.5pt"><font size="5"><span lang="EN-US">DSN</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Times New Roman&#39;; mso-hansi-font-family: &#39;Times New Roman&#39;">连接方式<br></span></font></h5>
<font size="5"> <h5 class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span lang="EN-US" style="FONT-FAMILY: &#39;Courier New&#39;">DB</span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Courier New&#39;; mso-hansi-font-family: &#39;Courier New&#39;; mso-bidi-font-family: &#39;Courier New&#39;">目前支持的连接方式如下</span><span lang="EN-US" style="FONT-FAMILY: &#39;Courier New&#39;">
   
    </span></font></h5> <h5 class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><font size="3"><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Courier New&#39;; mso-hansi-font-family: &#39;Courier New&#39;; mso-bidi-font-family: &#39;Courier New&#39;">最完整的格式:</span><span lang="EN-US" style="FONT-FAMILY: &#39;Courier New&#39;">
    </span></font></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span lang="EN-US" style="FONT-SIZE: 12pt; BACKGROUND: #d9d9d9; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso-shading: white; mso-pattern: gray-15 auto">phptype(dbsyntax)://username:password&#64;protocol&#43;hostspec/database?option&#61;value
   </span></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: 宋体; mso-ascii-font-family: &#39;Courier New&#39;; mso-hansi-font-family: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso-bidi-font-family: &#39;Courier New&#39;">别外还有一些缩写的格式:</span><span lang="EN-US" style="FONT-SIZE: 12pt; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt">
   </span></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span lang="EN-US" style="FONT-SIZE: 12pt; BACKGROUND: #d9d9d9; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso-shading: white; mso-pattern: gray-15 auto">phptype://username:password&#64;protocol&#43;hostspec:110//usr/db_file.db
   </span></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span lang="EN-US" style="FONT-SIZE: 12pt; BACKGROUND: #d9d9d9; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso-shading: white; mso-pattern: gray-15 auto">phptype://username:password&#64;hostspec/database
   </span></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span lang="EN-US" style="FONT-SIZE: 12pt; BACKGROUND: #d9d9d9; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso-shading: white; mso-pattern: gray-15 auto">phptype://username:password&#64;hostspec
   </span></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span lang="EN-US" style="FONT-SIZE: 12pt; BACKGROUND: #d9d9d9; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso-shading: white; mso-pattern: gray-15 auto">phptype://username&#64;hostspec
   </span></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span lang="EN-US" style="FONT-SIZE: 12pt; BACKGROUND: #d9d9d9; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso-shading: white; mso-pattern: gray-15 auto">phptype://hostspec/database
   </span></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span lang="EN-US" style="FONT-SIZE: 12pt; BACKGROUND: #d9d9d9; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso-shading: white; mso-pattern: gray-15 auto">phptype://hostspec
   </span></h5> <h5 align="left" class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt"><span lang="EN-US" style="FONT-SIZE: 12pt; BACKGROUND: #d9d9d9; COLOR: black; FONT-FAMILY: &#39;Courier New&#39;; mso-font-kerning: 0pt; mso
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP