i have a db in phpmyadmin having 3000000 records. i want to export this to another pc. now when i export this only 200000 entries exported into .sql file and that is also not imported on the other pc.

解决方案

Answering this for anyone else who lands here. If you can only use phpMyAdmin because you do not have SSH access to the MySQL service or do not know how to use command line tools, then this might help. However as the comment above suggest, exporting a database of this size would be far easer with mysqldump.

phpMyAdmin (I'm using v3.5.6) allows tables to be exported individually like so:

Select the database to view/edit. A list of all the tables should

appear.

In the list of tables, tick the checkbox to the left of the table

you want to export.

At the bottom of the tables list, select 'Export' from the 'With

Selected:' select box.

The export screen appears. Often a 'Quick' export will work, and

save it as 'SQL' format.

phpMyAdmin also allows records to be exported individially or in groups, so you could for example, export just 10 records from a table with 100,000.

Follow steps 1 to 3 above.

Instead of 'Quick' select 'Custom'.

Under 'Rows' select 'Dump some row(s)'

Then enter the number of rows you want to export, and the starting row number.

Under 'Data dump options' at the bottom of the export screen, check

that 'Maximal length of created query' is large enough.

Note: If you are exporting large BLOB data for example, this figure might have to be raised.

Hope that helps someone new to phpMyAdmin or DBA via the web.

phpmyadmin 导出mysql,在phpmyadmin中导入/导出非常大的mysql数据库相关推荐

  1. mysql数据导入导出 CSV格式_MySQL中导入导出CSV格式数据

    原标题:MySQL中导入导出CSV格式数据 预备阅读:MySQL中的主键问题和赋权限问题 今天来讲一下在MySQL中导入和导出CSV格式数据的操作. CSV格式数据 逗号分隔值(Comma-Separ ...

  2. 如何在 MySQL / MariaDB 中导入导出数据,导入导出数据库文件、Excel、CSV

    文章目录 本教程将详细讲解 1. MySQL / MariaDB 数据库数据「导出」 2. MySQL / MariaDB 数据库数据「导入」 3. 使用「卡拉云」一键导入导出 MySQL / Mar ...

  3. MySQL数据库中导入导出方法以及工具介绍

    MySQL数据库中导入导出方法以及工具介绍 1.MySQLimport的语法介绍: mysqlimport位于mysql/bin目录中,是mysql的一个载入(或者说导入)数据的一个非常有效的工具.这 ...

  4. 学习 MySQL中导入 导出CSV

    MySQL中导出CSV格式数据的SQL语句样本如下: Sql代码   select * from test_info into outfile '/tmp/test.csv' fields termi ...

  5. mysql 导入导出 csv_学习 MySQL中导入 导出CSV

    Sql代码   select * from test_info into outfile '/tmp/test.csv' fields terminated by ',' optionally enc ...

  6. 1001系列之pandas0001如何从Mysql数据库中导入导出数据

    一.Pymysql模块简介 Mysql数据库是数据挖掘任务的数据源之一,通过pymysql模块可以直接连接MySQL数据库,进行增删改查等操作. Python连接MySQL的流程如下: 1.1curs ...

  7. mysql数据泵导入导出_ORACLE使用数据泵导入导出部分表

    1.导出名字为A的表(这里会导出SEQUENCES及FUNCTION等内容) expdp TEST/TEST@orcl schemas=TEST dumpfile=TEST.dmp DIRECTORY ...

  8. java io导出excel表格_Java IO 导入导出Excel表格

    1.将excel导入到内存 1. 调用工作簿Workbook的静态方法getWorkbook(),获得工作簿Workbook对象 InputStream in = new FileInputStrea ...

  9. mysql将备份的数据导入_成功将MySQL的大型数据导入导出和备份(转载)

    原来的数据使用的是MySQL4.1,大概有800M左右.使用 mysqldump -u username -p dbname > "filename" 导出的时候很容易死掉, ...

最新文章

  1. 新电脑装win7_微软正式跟Win7系统告别了!国产电脑操作新系统诞生:系统更加美观...
  2. EIGRP的路由汇总与认证
  3. angular跳转指定页面_通过 angular CDK 实现页面元素拖放
  4. 使用c:forEach 控制5个换行
  5. 数据库事务及隔离级别
  6. 判断一个男人穷还是富,只看这几点!
  7. selenium 等待_Selenium等待:内隐,外显,流利和睡眠
  8. win8编程c语言,Win8系统怎么运行C语言 win8系统运行C语言的方法
  9. BZOJ 2763: [JLOI2011]飞行路线 【SPFA】
  10. python读取文件路径中有中文_转 python 读取中文文件名/中文路径
  11. 评中级工程师职称计算机,评中级工程师职称及注意事项
  12. BetaFlight开源代码框架简介
  13. html如何提取图片颜色代码,解析CSS 提取图片主题色功能(小技巧)
  14. 第十三届蓝桥杯C/C++ 大学B组题解
  15. maven 修改maven本地仓库的位置
  16. php sid打印不出来,pinpoint php 使用不当引发棘手的问题 --psid sid tid pname ptype ah
  17. 胜兵先胜而后求战,败兵先战而后求胜。
  18. 在Excel中怎么筛选唯一值或删除重复值以及对其应用条件格式
  19. [面经]美团 后端 offer√
  20. 关于使用vue安装项目的时候出现了 command failed: pnpm install --reporter silent --shamefully-hoist 报错

热门文章

  1. matlab里用fix函数,Matlab基本函数-fix函数
  2. 服务器系统功能描述,Hadoop mapreduce核心功能描述
  3. 重构碎片化知识_day22重构力-思维导图:让碎片化知识的零存整取
  4. nginx 一个请求发给多台机器_一个机器人可以同时为多台数控机床上下料吗?东智力衡...
  5. psp中java,PSP编程概述
  6. mysql怎么分组查询所有数据库_Mysql-4 分组查询与子查询
  7. 模糊匹配查询_必须掌握的6个查询函数应用技巧,办公必备,收藏备用!
  8. 理解java虚拟机工作后了解吗_JAVA入门到再次入门——深入理解JAVA虚拟机(二)|七日打卡...
  9. daoi php_使用php生成RSA公钥私钥及进行加密解密和签名验证
  10. c语言手游常用代码,c语言源代码【操作流程】