在行 MySQL 管理的工具中 , 最常使用的就是 phpMyAdmin 套工具了 , 但在今天想著不要再用指令去操作 MySQL dump 下的料移 , 了在 phpMyAdmin 中入料是有容量上的限制的。

( phpMyAdmin 的 2048 KB 限制)
在生的程中 , 由 phpMyAdmin 出的警告(如下) , 找到了解的方法建。

文件的捷就指向了 Documentation.html#faq1_16 中提到
(以下自 phpMyAdmin 中的 Documentation.html#faq1_16 中的容)
Starting with version 2.7.0, the import engine has been rewritten and these problems should not occur. If possible, upgrade your phpMyAdmin to the latest version to take advantage of the new import features.
The first things to check (or ask your host provider to check) are the values of upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also said that post_max_size and memory_limit need to be larger than upload_max_filesize.
There exist several workarounds if your upload is too big or your hosting provider is unwilling to change the settings:
- Look at the $cfg['UploadDir'] feature. This allows one to upload a file to the server via scp, ftp, or your favorite file transfer method. PhpMyAdmin is then able to import the files from the temporary directory. More information is available in the Configuration section of this document.
- Using a utility (such as BigDump) to split the files before uploading. We cannot support this or any third party applications, but are aware of users having success with it.
- If you have shell (command line) access, use MySQL to import the files directly. You can do this by issuing the "source" command from within MySQL: source filename.sql.
在一 Topic 中就指出了定的整方法或使用 BigDump 一工具做助 , 但想要去一工具 , 本得麻 , 但是看一下 BigDump 中的明 , 突然是一很有趣的工具 . 由 http://www.ozerov.de/bigdump.php 前往 BigDump 的站 , 宗明就明了 , 它是 Staggered import of large and very large MySQL Dumps (like phpMyAdmin 2.x Dumps) even through the web servers with hard runtime limit and those in safe mode. , 其有大吃一 , 在 Internet 上果然什都有 , 且有人出「用」於的工具....真是令人止呀!

且就先看一下它的定和功能明吧!
首先先明一下版本 , 在今天看到在 http://www.ozerov.de/bigdump.php 可以下的版本是 BigDump ver. 0.31b (beta) (10 KB ZIP archive) 一版本和下 ZIP 。且在站上就明了 Version 0.31b includes some very important bugfixes and other improvements. (版本修正了多重大的 及提供多改) , 但句後也提到了 Please don't hesitate to report any bugs in this release (如果在版本中 , 也不要豫的反它) , 且在下方就明了需要的事。

以上的事要注意的,就是要 gzip 的,就只有限於在 PHP 4.3.0 以後的版本才可以 , 是要注意的 。

http://www.ozerov.de/bigdump.php 下 bigdump.zip 一案。

把 bigdump.zip 解 , 可以看到 bigdump.php 一案 , 使用文字器打它, 我需要行一。

在 bigdump.php 中 , 到 MySQL 的 , 把 定好!
db_server 就是要到 MySQL Server 的 IP 或 器名
$db_name 是要入料的 database 名
$db_username 和 $ db_password 就是 到 database 的和密

接下就是要定要入的案名 , 由 $filename 就是定好要入行的 sql 案

而 $linespersession 和 $delaypersession 是了避免 MySQL 太忙的定!
再接下就是定跟料的 由 $db_connection_charset 的定

定好以上的定,就可以把 bigdump.php 放在 apache - php 的行境中了

正的定就看到上面的面

如果有定 $filename (就是要理的案) 就看到上面的 web page!!!
文章定位: