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

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

        <legend id='l8d8t'><style id='l8d8t'><dir id='l8d8t'><q id='l8d8t'></q></dir></style></legend>
        • <bdo id='l8d8t'></bdo><ul id='l8d8t'></ul>
      1. <tfoot id='l8d8t'></tfoot>
      2. <i id='l8d8t'><tr id='l8d8t'><dt id='l8d8t'><q id='l8d8t'><span id='l8d8t'><b id='l8d8t'><form id='l8d8t'><ins id='l8d8t'></ins><ul id='l8d8t'></ul><sub id='l8d8t'></sub></form><legend id='l8d8t'></legend><bdo id='l8d8t'><pre id='l8d8t'><center id='l8d8t'></center></pre></bdo></b><th id='l8d8t'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='l8d8t'><tfoot id='l8d8t'></tfoot><dl id='l8d8t'><fieldset id='l8d8t'></fieldset></dl></div>
      3. “加載數據本地 infile"不允許命令

        quot;Load data local infilequot; command not allowed(“加載數據本地 infile不允許命令)
          <legend id='ZKtz6'><style id='ZKtz6'><dir id='ZKtz6'><q id='ZKtz6'></q></dir></style></legend>

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

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

                  <bdo id='ZKtz6'></bdo><ul id='ZKtz6'></ul>
                    <tbody id='ZKtz6'></tbody>
                • 本文介紹了“加載數據本地 infile"不允許命令的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在使用 PHP mysqli 庫.每次我嘗試運行 LOAD DATA LOCAL INFILE 命令時,mysqli 都會抱怨消息

                  I am using the PHP mysqli library. Every time I try to run a LOAD DATA LOCAL INFILE command, mysqli complains with the message

                  此 MySQL 版本不允許使用的命令

                  The used command is not allowed with this MySQL version

                  從 MySQL 終端(必須使用 --local-infile=1 登錄才能使其工作)或 PHPMyAdmin 運行命令時,我沒有遇到同樣的問題.只是我的 PHP+mysqli 代碼遇到了這個錯誤.

                  I do not have the same problem with running the command from a MySQL terminal (must login with --local-infile=1 to make it work) or PHPMyAdmin. Just my PHP+mysqli code experiences this error.

                  我嘗試設置此選項:

                  mysqli_options($cnx, MYSQLI_OPT_LOCAL_INFILE, 1);
                  

                  在我的加載數據調用之前,但仍然沒有效果.

                  prior to my load data call, but still no-effect.

                  我該如何解決這個問題?

                  How do I correct this problem?

                  推薦答案

                  有幾件事可能是錯誤的.請嘗試以下操作:

                  There are a couple things that could be wrong. Try the following:

                  添加到您的 my.cnf:

                  [mysql]
                  local-infile=1
                  
                  [mysqld]
                  local-infile=1
                  

                  從 PHP 連接時啟用本地 infile

                  $conn = mysqli_init();
                  mysqli_options($conn, MYSQLI_OPT_LOCAL_INFILE, true);
                  mysqli_real_connect($conn,server,user,code,database);
                  

                  這篇關于“加載數據本地 infile"不允許命令的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  store_result() and get_result() in mysql returns false(mysql 中的 store_result() 和 get_result() 返回 false)
                  Call to undefined function mysqli_result::num_rows()(調用未定義的函數 mysqli_result::num_rows())
                  PHP Prepared Statement Problems(PHP 準備好的語句問題)
                  mysqli_fetch_array returning only one result(mysqli_fetch_array 只返回一個結果)
                  PHP MySQLi Multiple Inserts(PHP MySQLi 多次插入)
                  How do I make sure that values from MySQL keep their type in PHP?(如何確保 MySQL 中的值在 PHP 中保持其類型?)

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

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

                          1. <tfoot id='ZmVLH'></tfoot>
                            主站蜘蛛池模板: 亚洲精品2区 | 成年免费大片黄在线观看岛国 | 伊人一区 | 二区av| 亚洲人成人一区二区在线观看 | 欧美成人一区二区 | 成人超碰 | 国产四区 | 在线免费观看日本 | av中文在线 | 欧美福利 | 国产东北一级毛片 | 天天操天天射天天 | 成人小视频在线观看 | 超碰成人av| 久久成人综合 | 欧美精品一区二区在线观看 | 91大神在线看 | 国产成人99久久亚洲综合精品 | 天天色综网 | 国产精品一区在线观看 | 一区视频在线免费观看 | 欧美日韩成人一区二区 | 亚洲逼院| 色偷偷噜噜噜亚洲男人 | av网站在线看 | 国产成人免费 | 中文字幕日韩在线 | 精品视频久久久久久 | 国产999精品久久久 日本视频一区二区三区 | 亚洲第一av网站 | 欧美视频成人 | 中文字幕一区二区三区四区五区 | 欧美一区二区激情三区 | 91偷拍精品一区二区三区 | 日韩精品一区二区三区免费视频 | 欧美一区二区综合 | 日韩精品在线播放 | 久久r久久 | 国产午夜视频 | 在线观看中文字幕亚洲 |