久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

        <bdo id='Ou2rX'></bdo><ul id='Ou2rX'></ul>
    1. <small id='Ou2rX'></small><noframes id='Ou2rX'>

      <legend id='Ou2rX'><style id='Ou2rX'><dir id='Ou2rX'><q id='Ou2rX'></q></dir></style></legend>

      <i id='Ou2rX'><tr id='Ou2rX'><dt id='Ou2rX'><q id='Ou2rX'><span id='Ou2rX'><b id='Ou2rX'><form id='Ou2rX'><ins id='Ou2rX'></ins><ul id='Ou2rX'></ul><sub id='Ou2rX'></sub></form><legend id='Ou2rX'></legend><bdo id='Ou2rX'><pre id='Ou2rX'><center id='Ou2rX'></center></pre></bdo></b><th id='Ou2rX'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='Ou2rX'><tfoot id='Ou2rX'></tfoot><dl id='Ou2rX'><fieldset id='Ou2rX'></fieldset></dl></div>
      <tfoot id='Ou2rX'></tfoot>

      1. nd_pdo_mysql 和 pdo_mysql 擴展之間有什么區(qū)別?

        What is the difference between the nd_pdo_mysql and pdo_mysql extensions?(nd_pdo_mysql 和 pdo_mysql 擴展之間有什么區(qū)別?)

        • <bdo id='CKTNO'></bdo><ul id='CKTNO'></ul>
          <i id='CKTNO'><tr id='CKTNO'><dt id='CKTNO'><q id='CKTNO'><span id='CKTNO'><b id='CKTNO'><form id='CKTNO'><ins id='CKTNO'></ins><ul id='CKTNO'></ul><sub id='CKTNO'></sub></form><legend id='CKTNO'></legend><bdo id='CKTNO'><pre id='CKTNO'><center id='CKTNO'></center></pre></bdo></b><th id='CKTNO'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='CKTNO'><tfoot id='CKTNO'></tfoot><dl id='CKTNO'><fieldset id='CKTNO'></fieldset></dl></div>
                <tbody id='CKTNO'></tbody>
              <tfoot id='CKTNO'></tfoot>
                • <legend id='CKTNO'><style id='CKTNO'><dir id='CKTNO'><q id='CKTNO'></q></dir></style></legend>

                  <small id='CKTNO'></small><noframes id='CKTNO'>

                  本文介紹了nd_pdo_mysql 和 pdo_mysql 擴展之間有什么區(qū)別?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  出于某種原因,我們托管服務器上的 pdo_mysql PHP 擴展無法運行使用 MySQL 視圖的查詢,并顯示此錯誤消息.

                  <塊引用>

                  SQLSTATE[HY000]: 一般錯誤:1615 準備好的語句需要重新準備

                  (有一個討論

                  由于 libmysql 以字符串形式返回數(shù)字類型,我使用 mysqlndnd_pdo_mysql 來獲取本機/嚴格數(shù)據(jù),以便數(shù)字類型作為字符串返回.

                  來自MySQL官網(wǎng):https://dev.mysql.com/downloads/connector/php-mysqlnd/

                  <塊引用>

                  用于 PHP mysqlnd 的 MySQL 本地驅動程序是 PHP 腳本語言的 MySQL 客戶端庫 libmysql 的直接替代品.

                  For some reason the pdo_mysql PHP extension, on our hosted server, fails to run a query that uses a MySQL view, with this error message.

                  SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-prepared

                  (There is a discussion on Bug #42041 Prepared-Statement fails when MySQL-Server under load, as well as numerous questions on Stack Overflow.)

                  For some reason, the query using the view runs just fine, if we switch to using the nd_pdo_mysql extension, which is for the MySQL Native Driver (mysqlnd).

                  What is the difference between pdo_mysql and nd_pdo_mysql? Why would one be chosen over the other one?

                  Thanks.

                  解決方案

                  To connect to your MySQL server from PHP, there are two versions of drivers:

                  1. mysqlnd
                  2. libmysql

                  In order to connect to your MySQL server using mysqlnd driver, you use the nd_pdo_mysql extension, as seen in below screenshot.

                  Since libmysql returns numeric types as strings, I use mysqlnd with nd_pdo_mysql in order to get native/strict data, so that numeric types are NOT returned as Strings.

                  From the MySQL official website: https://dev.mysql.com/downloads/connector/php-mysqlnd/

                  The MySQL native driver for PHP mysqlnd is a drop-in replacement for the MySQL Client Library libmysql for the PHP script language.

                  這篇關于nd_pdo_mysql 和 pdo_mysql 擴展之間有什么區(qū)別?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Deadlock exception code for PHP, MySQL PDOException?(PHP、MySQL PDOException 的死鎖異常代碼?)
                  PHP PDO MySQL scrollable cursor doesn#39;t work(PHP PDO MySQL 可滾動游標不起作用)
                  PHP PDO ODBC connection(PHP PDO ODBC 連接)
                  Using PDO::FETCH_CLASS with Magic Methods(使用 PDO::FETCH_CLASS 和魔術方法)
                  php pdo get only one value from mysql; value that equals to variable(php pdo 只從 mysql 獲取一個值;等于變量的值)
                  MSSQL PDO could not find driver(MSSQL PDO 找不到驅動程序)

                    <tfoot id='WZbfI'></tfoot>
                    <i id='WZbfI'><tr id='WZbfI'><dt id='WZbfI'><q id='WZbfI'><span id='WZbfI'><b id='WZbfI'><form id='WZbfI'><ins id='WZbfI'></ins><ul id='WZbfI'></ul><sub id='WZbfI'></sub></form><legend id='WZbfI'></legend><bdo id='WZbfI'><pre id='WZbfI'><center id='WZbfI'></center></pre></bdo></b><th id='WZbfI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='WZbfI'><tfoot id='WZbfI'></tfoot><dl id='WZbfI'><fieldset id='WZbfI'></fieldset></dl></div>

                        <tbody id='WZbfI'></tbody>
                    1. <small id='WZbfI'></small><noframes id='WZbfI'>

                    2. <legend id='WZbfI'><style id='WZbfI'><dir id='WZbfI'><q id='WZbfI'></q></dir></style></legend>

                        <bdo id='WZbfI'></bdo><ul id='WZbfI'></ul>

                            主站蜘蛛池模板: 日本在线视频观看 | 午夜视频在线看 | 中文字幕视频 | 成人免费小视频 | 精品在线观看视频 | 2018天天操| 日韩中文视频 | 国产一区久久 | 久久久亚洲一区 | 国产成人精品亚洲男人的天堂 | 成人一级黄色片 | 亚洲国产精品久久久久久 | 欧美另类视频 | 一区二区影视 | 91久久精品日日躁夜夜躁欧美 | 国产激情网| 玖玖伊人 | av不卡一区 | 黄色在线小视频 | 国产精品视频免费在线观看 | 亚洲无av在线中文字幕 | 国产成人一区二区 | 中国av片 | 美女一级片 | av网站观看| 国产成人精品一区二区三区福利 | 在线看黄色片 | 国产1级片 | 欧美视频在线观看一区 | 天天综合影院 | 国产精品123| 超碰国产在线 | 国产成人精品亚洲男人的天堂 | 日韩精品免费一区二区夜夜嗨 | 久久久国 | 精品国产欧美一区二区三区成人 | 韩国三级中文字幕hd久久精品 | 中国av片| 视频一二三区 | 日韩精品免费一区二区夜夜嗨 | 亚洲欧美精品在线 |