• <legend id='9ZXhD'><style id='9ZXhD'><dir id='9ZXhD'><q id='9ZXhD'></q></dir></style></legend>

    <small id='9ZXhD'></small><noframes id='9ZXhD'>

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

        • <bdo id='9ZXhD'></bdo><ul id='9ZXhD'></ul>

      1. 如何将表从mysql数据库导出到excel?

        How to export table to excel from mysql database?(如何将表从mysql数据库导出到excel?)
        <i id='GJ173'><tr id='GJ173'><dt id='GJ173'><q id='GJ173'><span id='GJ173'><b id='GJ173'><form id='GJ173'><ins id='GJ173'></ins><ul id='GJ173'></ul><sub id='GJ173'></sub></form><legend id='GJ173'></legend><bdo id='GJ173'><pre id='GJ173'><center id='GJ173'></center></pre></bdo></b><th id='GJ173'></th></span></q></dt></tr></i><div id='GJ173'><tfoot id='GJ173'></tfoot><dl id='GJ173'><fieldset id='GJ173'></fieldset></dl></div>
          • <tfoot id='GJ173'></tfoot>
              <tbody id='GJ173'></tbody>
          • <legend id='GJ173'><style id='GJ173'><dir id='GJ173'><q id='GJ173'></q></dir></style></legend>

                • <bdo id='GJ173'></bdo><ul id='GJ173'></ul>

                • <small id='GJ173'></small><noframes id='GJ173'>

                  本文介绍了如何将表从mysql数据库导出到excel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在 mysql 中有一个表,它有超过 10 万行,非常大,我想将它导出到 excel.但是,我尝试在 phpmyadmin 上导出到 excel 功能,但是转储 excel 文件需要很长时间.它甚至不是倾倒.错误始终是连接已重置".有没有其他方法可以做到这一点?

                  I have a table in mysql which is quite big for having over 100k rows and I want to export it to excel. However, I tried the export to excel function on phpmyadmin but it takes forever to dump the excel file. It's not even dumping. The error is always, "the connection is reset". Is there an alternative way on how to do this??

                  推荐答案

                  首先,Excel 中的 100k 行听起来很糟糕,当然这需要一段时间.这将需要一段时间才能打开.如果您必须这样做,请尝试:

                  First, 100k rows in Excel sounds like a horrible idea and of course it'll take awhile. This is going to take awhile just to open. If you MUST do this try:

                  SELECT order_id,product_name,qty
                  FROM orders
                  INTO OUTFILE '/tmp/orders.csv'
                  FIELDS TERMINATED BY ','
                  ENCLOSED BY '"'
                  LINES TERMINATED BY '
                  '
                  

                  这应该会给你一个名为:/tmp/orders.csv 的文件,它将在 Excel 中打开.

                  This should give you a file called: /tmp/orders.csv which will open in Excel.

                  这篇关于如何将表从mysql数据库导出到excel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Appending GET parameters to URL from lt;formgt; action(将 GET 参数附加到来自 lt;formgt; 的 URL行动)
                  Forcing quot;Save Asquot; dialog via jQuery GET(强制“另存为通过 jQuery GET 对话框)
                  PHP - get certain word from string(PHP - 从字符串中获取某个单词)
                  How to debug a get request in php using curl(如何使用 curl 在 php 中调试 get 请求)
                  get a # from a url in php(从 php 中的 url 获取 #)
                  PHP - include() file not working when variables are put in url?(PHP - 将变量放入 url 时,include() 文件不起作用?)

                • <small id='E9AUx'></small><noframes id='E9AUx'>

                  <legend id='E9AUx'><style id='E9AUx'><dir id='E9AUx'><q id='E9AUx'></q></dir></style></legend>
                • <tfoot id='E9AUx'></tfoot>

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

                          • <bdo id='E9AUx'></bdo><ul id='E9AUx'></ul>