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

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

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

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

    2. “與 MySQL 服務(wù)器的連接丟失"嘗試連接到遠(yuǎn)程

      quot;Lost connection to MySQL serverquot; when trying to connect to remote MySQL server(“與 MySQL 服務(wù)器的連接丟失嘗試連接到遠(yuǎn)程 MySQL 服務(wù)器時)

              <tbody id='h3MKv'></tbody>

          1. <legend id='h3MKv'><style id='h3MKv'><dir id='h3MKv'><q id='h3MKv'></q></dir></style></legend>

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

              <tfoot id='h3MKv'></tfoot>
                <bdo id='h3MKv'></bdo><ul id='h3MKv'></ul>
                本文介紹了“與 MySQL 服務(wù)器的連接丟失"嘗試連接到遠(yuǎn)程 MySQL 服務(wù)器時的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我正在使用 Zend Framework 開發(fā)我的應(yīng)用程序,并嘗試連接到局域網(wǎng)中的遠(yuǎn)程 MySQL 數(shù)據(jù)庫.

                Zend 中的數(shù)據(jù)庫連接設(shè)置如下:<前>[一般的]db.adapter = PDO_MYSQLdb.params.host = 192.168.1.2db.params.port = 3306

                [現(xiàn)場直播:一般]db.params.username = rootdb.params.password = **db.params.dbname = djudd

                [開發(fā):一般]db.params.username = rootdb.params.password = **db.params.dbname = 恒星引擎

                我收到以下錯誤:

                <塊引用><塊引用><塊引用>

                致命錯誤:未捕獲的異常 'PDOException' 帶有消息 'SQLSTATE[HY000] [2013] 在'讀取初始通信數(shù)據(jù)包'時失去與 MySQL 服務(wù)器的連接,系統(tǒng)錯誤:/usr/share/php/中的 111'Zend/Db/Adapter/Pdo/Abstract.php:129 堆棧跟蹤:#0/usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:host=192....', 'root', 'password', Array) #1/usr/share/php/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect() #2/usr/share/php/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Mysql->_connect() #3/usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php(238)): Zend_Db_Adapter_Abstract->query('DESCRIBEbny_c...', Array) #4/usr/share/php/Zend/Db/Adapter/Pdo/Mysql.php(156): Zend_Db_Adapter_Pdo_Abstract->query('DESCRIBE bny_c...') #5/usr/share/php/Zend/Db/Table/Abstract.php(823): Zend_Db_Adapter_Pdo_Mysql->describeTable('bny_core_module...', NULL) #6/usr/share/php/Zend/Db/Table/Abstract.php(866): Zend_Db_Table_Abstract->_setupMetadata() #7/usr/share/php/Zend/Db/Table/Abstract.在/usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php 第 144 行

                請幫我解決這個問題.

                解決方案

                上次我遇到這種類型的錯誤時,我不得不將我的主機(jī)從:127.0.0.1 更改為 'localhost' 然后它工作正常.

                I am using Zend Framework to develop my application and I try to connect to a remote MySQL database in my LAN.

                The database connection settings in Zend is as follows:

                [GENERAL]
                db.adapter     = PDO_MYSQL
                db.params.host = 192.168.1.2
                db.params.port = 3306

                [LIVE:GENERAL] db.params.username = root db.params.password = ** db.params.dbname = djudd

                [DEVELOPMENT:GENERAL] db.params.username = root db.params.password = ** db.params.dbname = stellarengine

                I got the following error:

                Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111' in /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:host=192....', 'root', 'password', Array) #1 /usr/share/php/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /usr/share/php/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('DESCRIBEbny_c...', Array) #4 /usr/share/php/Zend/Db/Adapter/Pdo/Mysql.php(156): Zend_Db_Adapter_Pdo_Abstract->query('DESCRIBE bny_c...') #5 /usr/share/php/Zend/Db/Table/Abstract.php(823): Zend_Db_Adapter_Pdo_Mysql->describeTable('bny_core_module...', NULL) #6 /usr/share/php/Zend/Db/Table/Abstract.php(866): Zend_Db_Table_Abstract->_setupMetadata() #7 /usr/share/php/Zend/Db/Table/Abstract. in /usr/share/php/Zend/Db/Adapter/Pdo/Abstract.php on line 144

                Please help me to resolve this problem.

                解決方案

                Last time I had this type of error, I had to change my host from: 127.0.0.1 to 'localhost' and then it worked fine.

                這篇關(guān)于“與 MySQL 服務(wù)器的連接丟失"嘗試連接到遠(yuǎn)程 MySQL 服務(wù)器時的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                相關(guān)文檔推薦

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

                2. <tfoot id='qGXwR'></tfoot>

                        <tbody id='qGXwR'></tbody>
                      <legend id='qGXwR'><style id='qGXwR'><dir id='qGXwR'><q id='qGXwR'></q></dir></style></legend>
                      • <bdo id='qGXwR'></bdo><ul id='qGXwR'></ul>

                        • <i id='qGXwR'><tr id='qGXwR'><dt id='qGXwR'><q id='qGXwR'><span id='qGXwR'><b id='qGXwR'><form id='qGXwR'><ins id='qGXwR'></ins><ul id='qGXwR'></ul><sub id='qGXwR'></sub></form><legend id='qGXwR'></legend><bdo id='qGXwR'><pre id='qGXwR'><center id='qGXwR'></center></pre></bdo></b><th id='qGXwR'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='qGXwR'><tfoot id='qGXwR'></tfoot><dl id='qGXwR'><fieldset id='qGXwR'></fieldset></dl></div>
                        • 主站蜘蛛池模板: 天堂国产 | 久久久精品一区二区三区 | 亚洲精品在线免费 | 国产探花在线精品一区二区 | 欧美一区二区三区在线观看视频 | 夏同学福利网 | 国产精品久久久久久久久久久免费看 | 亚洲欧美综合精品久久成人 | 国产三级在线观看播放 | 久久综合久久综合久久综合 | 一区二区三区四区视频 | 亚洲国产欧美日韩 | 免费一区 | 亚洲一区二区免费看 | 欧美黄在线观看 | 久久精品一区二区 | 干干干日日日 | 欧美激情亚洲激情 | 91玖玖 | 日韩成人国产 | 国产激情91久久精品导航 | 中文字幕免费 | 久久久久亚洲 | 久久精品视频免费看 | 亚洲欧美中文日韩在线v日本 | 国产精品高潮呻吟久久av黑人 | 可以免费观看的av | 亚洲精品在线看 | 午夜成人免费视频 | 91精品一区二区三区久久久久 | 精品美女久久久 | 欧美久久精品一级c片 | 欧美亚洲日本 | 日韩精品在线观看网站 | www.中文字幕.com| 精品国产一二三区 | 中文二区| 精品久久99 | 青青激情网 | 亚洲一区导航 | 久久成人av电影 |