{"id":5102,"date":"2008-01-13T23:49:19","date_gmt":"2008-01-13T15:49:19","guid":{"rendered":"http:\/\/telecnsr.com\/?p=5102"},"modified":"2016-03-14T17:46:31","modified_gmt":"2016-03-14T09:46:31","slug":"bigdump","status":"publish","type":"post","link":"https:\/\/telecnsr.com\/5102\/","title":{"rendered":"\u5982\u4f55\u532f\u5165\u5927\u65bc 2MB \u4ee5\u4e0a\u7684MySQL\u8cc7\u6599\u5eab\uff1f (BigDump)"},"content":{"rendered":"
\u5728MySQL\u4e2d\u532f\u5165\u8cc7\u6599\u5eab\u7684\u65b9\u5f0f\u6709\u5f88\u591a\u7a2e\uff0c\u5176\u4e2d\u4e00\u822c\u6bd4\u8f03\u4e0d\u719fMySQL\u6307\u4ee4\u3001\u6216\u6c92\u6709\u4f3a\u670d\u5668\u7ba1\u7406\u6b0a\u9650\u7684\u4f7f\u7528\u8005\uff0c\u6700\u5e38\u7528\u7684\u65b9\u5f0f\u5c31\u662f\u4f7f\u7528phpMyAdmin<\/strong>\u7ba1\u7406\u7a0b\u5f0f\u7684\u532f\u5165\u4ecb\u9762\u4f86\u4e0a\u50b3\u3001\u532f\u5165\u3002\u4e0d\u904e\u5982\u679c\u4f60\u7684\u300c.sql\u300d\u6a94\u6848\u8d85\u5927\u7684\u8a71\uff0c\u5247\u5f88\u5bb9\u6613\u9047\u5230\u4f3a\u670d\u5668\u7684\u57f7\u884c\u6642\u9593\u6216\u6a94\u6848\u5927\u5c0f\u7684\u9650\u5236\uff0c\u7d50\u679c\u5c31\u662f\u592a\u5927\u7684\u300c.sql\u300d\u6a94\u7121\u6cd5\u9806\u5229\u4e0a\u50b3\u3001\u532f\u5165\u5230\u8cc7\u6599\u5eab\u4e2d\u3002\u5982\u679c\u9047\u5230\u9019\u985e\u60c5\u6cc1\uff0c\u800c\u4f60\u53c8\u6c92\u6709\u6b0a\u9650\u53ef\u4ee5\u4fee\u6539\u300cphp.ini\u300d\u6a94\u6848\u4e2d\u7684\u8a2d\u5b9a\u7684\u8a71\uff0c\u90a3\u8a72\u600e\u9ebc\u8fa6\u5462\uff1f<\/p>\n <\/p>\n \u4ee5\u4e0b\u4ecb\u7d39\u4e00\u500b\u76f8\u7576\u5be6\u7528\u7684\u300cBigDump<\/strong>\u300d\u5c0f\u5de5\u5177\uff0c\u4ed6\u53ef\u4ee5\u5e6b\u6211\u5011\u5c07\u8d85\u5927\u7684\u300c.sql\u300d\u8cc7\u6599\u6a94\u76f4\u63a5\u532f\u5165\u5230MySQL\u8cc7\u6599\u5eab\u4e2d\uff0c\u5118\u7ba1\u4f60\u6c92\u6709\u6b0a\u9650\u4fee\u6539\u300cphp.<\/a>ini\u300d\u7d44\u614b\u6a94\u4e2d\u7684\u300cupload_max_filesize\u300d\u6216\u300cmax_input_time\u300d…\u7b49\u8a2d\u5b9a\u503c\uff0c\u4e5f\u53ef\u4ee5\u76f4\u63a5\u7528\u300cBigDump\u300d\u9019\u652f\u5c0f\u7a0b\u5f0f\u4f86\u5b8c\u6210\u8d85\u5927\u8cc7\u6599\u5eab\u7684\u532f\u5165\u5de5\u4f5c\u3002<\/p>\n \u8edf\u9ad4\u540d\u7a31\uff1a<\/strong>Big Dump <\/p>\n \u300cBigDump\u300d\u7684\u4f7f\u7528\u65b9\u5f0f\uff1a<\/strong><\/p>\n <\/p>\n \u7b2c1\u6b65<\/span><\/strong>\u00a0 \u5728\u958b\u59cb\u9084\u539f\u6216\u532f\u5165\u8cc7\u6599\u5eab\u4e4b\u524d\uff0c\u9996\u5148\u6211\u5011\u5fc5\u9808\u5148\u4fee\u6539\u300cbigdump.php<\/strong>\u300d\u6a94\u6848\u4e2d\u7684\u8a2d\u5b9a\u503c\u3002\u9996\u5148\u662f\u8cc7\u6599\u5eab\u7684\u540d\u7a31\u3001\u5e33\u865f\u8207\u767b\u5165\u5bc6\u78bc<\/p>\n $db_server<\/strong> = ‘localhost‘<\/a>; \u5176\u4e2d\u300c$db_server<\/strong>\u300d\u4e00\u822c\u4f86\u8aaa\u586b\u300clocalhost<\/strong>\u300d\u5373\u53ef\uff0c\u5982\u679c\u4f60\u7684\u8cc7\u6599\u5eab\u653e\u5728\u4e0d\u540c\u4e3b\u6a5f\u6216\u7db2\u5740\u7684\u8a71\uff0c\u8acb\u6539\u6210\u5be6\u969b\u4f4d\u7f6e\u3002<\/p>\n <\/a><\/p>\n <\/p>\n <\/p>\n \u7b2c2\u6b65<\/span><\/strong>\u00a0 \u63a5\u8457\u8acb\u5728\u300c$filenam\u300d\u4e2d\u586b\u5165\u4f60\u7684\u300c.sql\u300d\u8cc7\u6599\u5eab\u6a94\u6848\u7684\u540d\u7a31\uff0c\u9019\u4e5f\u4e00\u5b9a\u8981\u586b\u5beb\u6b63\u78ba\u3002\u53e6\u5916\u6709\u5169\u500b\u6578\u503c\u4e5f\u53ef\u4f9d\u7167\u5be6\u969b\u9700\u8981\u4fee\u6539\uff1a<\/p>\n \u300c$linespersessi<\/a>on = 3000;\u300d\uff1a<\/strong>\u8a2d\u5b9a\u6bcf\u6b21\u9084\u539f\u5e7e\u7b46\u8cc7\u6599 \u5982\u679c\u4f60\u7684\u4f3a\u670d\u5668\u5728\u77ed\u6642\u9593\u5167\u585e\u592a\u591a\u8cc7\u6599\u6703\u51fa\u554f\u984c\u7684\u8a71\uff0c\u53ef\u4ee5\u5f48\u6027\u8abf\u6574\u4e0a\u9762\u7684\u6578\u503c\uff0c\u907f\u514d\u4f3a\u670d\u5668\u8ca0\u64d4\u592a\u5927\u3002\uff08\u4e00\u822c\u4f86\u8aaa\u4e0d\u7528\u8abf\u6574\uff0c\u8b93\u4ed6\u7dad\u6301\u9810\u8a2d\u503c\u4e5f\u53ef\u4ee5\uff09<\/p>\n <\/a><\/p>\n <\/p>\n <\/p>\n \u7b2c3\u6b65<\/span><\/strong>\u00a0 \u6700\u5f8c\u8acb\u4f9d\u7167\u4f60\u7684\u8cc7\u6599\u5eab\u6240\u4f7f\u7528\u7684\u8a9e\u7cfb\uff0c\u4fee\u6539\u300c$db_connection_charset<\/strong>\u300d\u6b04\u4f4d\u4e2d\u7684\u6578\u503c\uff0c\u5982\u300cutf8<\/strong>\u300d\u3002\u5982\u679c\u4f60\u532f\u5165\u8cc7\u6599\u5eab\u4e4b\u5f8c\u767c\u73fe\u88e1\u9762\u7684\u4e2d\u6587\u5b57\u90fd\u8b8a\u6210\u4e82\u78bc\uff0c\u90a3\u5c31\u662f\u9019\u4e00\u6b04\u7684\u8cc7\u6599\u8a2d\u5b9a\u932f\u8aa4\uff0c\u8acb\u4f9d\u7167\u5be6\u969b\u72c0\u6cc1\u4fee\u6539\u70ba\u6b63\u78ba\u8a9e\u7cfb\u3002<\/p>\n <\/a><\/p>\n <\/p>\n <\/p>\n \u7b2c1\u6b65<\/span><\/strong>\u00a0\u00a0 \u5c07\u300cbi<\/a>gdump.php\u300d\u8ddf\u4f60\u7684\u8cc7\u6599\u5eab\u6a94\u6848\u4e0a\u50b3\u5230\u4f3a\u670d\u5668\u7684\u540c\u4e00\u500b\u4f4d\u7f6e\u4e4b\u5f8c\uff0c\u7528\u700f\u89bd\u5668\u958b\u555fBigDump\u6a94\u6848\u7684\u7db2\u5740\uff0c\u5982\u300chttp:\/\/telecnsr.com\/dump\/bigdump.php<\/strong>\u300d\uff0c\u7136\u5f8c\u6309\u4e00\u4e0b\u9801\u9762\u4e2d\u7684\u300cStart Import<\/strong>\u300d\u958b\u59cb\u532f\u5165\u3002<\/p>\n <\/a><\/p>\n <\/p>\n <\/p>\n \u7b2c2\u6b65<\/span><\/strong>\u00a0\u00a0 \u7d93\u904e\u4e00\u6bb5\u6642\u9593\u5f8c\u6703\u51fa\u73fe\u5982\u4e0b\u5716\u7684\u756b\u9762\uff0c\u6700\u4e0b\u9762\u7684\u300c% bar\u300d<\/strong>\u6b04\u4f4d\u4e2d\u6703\u986f\u793a\u4e00\u500b\u85cd\u8272\u9032\u5ea6\u689d\uff0c<\/a>\u7b49\u85cd\u8272\u9032\u5ea6\u689d\u586b\u6eff100%\u5f8c\uff0c\u8cc7\u6599\u5eab\u532f\u5165\u5de5\u4f5c\u5373\u53ef\u5b8c\u6210\u3002<\/p>\n <\/p>\n <\/p>\n <\/p>\n \u7b2c3\u6b65<\/span><\/strong>\u00a0 \u7576\u756b\u9762\u6700\u4e0b\u65b9\u51fa\u73fe\u300cCongratulations: End of file reached, assumi<\/a>ng OK<\/strong>\u300d\u7684\u8a0a\u606f\u6642\uff0c\u8868\u793a\u8cc7\u6599\u5eab\u5df2\u7d93\u9806\u5229\u532f\u5165\u5b8c\u6210\uff0c\u4f60\u53ef\u4ee5\u958b\u555f\u4f60\u7684\u7db2\u7ad9\u6e2c\u8a66\u4e00\u4e0b\u662f\u5426\u5df2\u7d93\u6062\u5fa9\u6b63\u5e38\u3002<\/p>\n
\n\u8edf\u9ad4\u7248\u672c\uff1a<\/strong>0.36 b
\n\u8edf\u9ad4\u8a9e\u8a00\uff1a<\/strong>\u82f1\u6587
\n\u8edf\u9ad4\u6027\u8cea\uff1a<\/strong>\u514d\u8cbb\u8edf\u9ad4
\n\u6a94\u6848\u5927\u5c0f\uff1a<\/strong>9KB
\n\u7cfb\u7d71\u652f\u63f4\uff1a<\/strong>PHP\/My<\/a>SQL
\n\u5b98\u65b9\u7db2\u7ad9\uff1ahttp:\/\/www.ozerov.de\/<\/a><\/strong>
\n\u8edf\u9ad4\u4e0b\u8f09\uff1a<\/strong><\/span>\u6309\u9019\u88e1<\/a><\/p><\/blockquote>\n\n
\u4e00\u3001\u4fee\u6539\u300cbigdump.php\u300d\u6a94\u6848\u4e2d\u7684\u8cc7\u6599\u5eab\u5e33\u865f\u3001\u5bc6\u78bc <\/span><\/strong><\/h3>\n
\n$db_name<\/strong> = ‘\u8cc7\u6599\u5eab\u540d\u7a31’;
\n$db_username<\/strong> = ‘\u4f7f\u7528\u8005\u540d\u7a31’;
\n$db_password<\/strong> = ‘\u4f7f\u7528\u8005\u5bc6\u78bc’;<\/p><\/blockquote>\n
\n\u300c$delaypersession = 5000;\u300d\uff1a<\/strong>\u6bcf\u6b21\u9593\u9694\u4f11\u606f\u6642\u9593(\u5343\u5206\u4e4b1\u79d2)\uff0c\u8a2d\u5b9a\u70ba5000\u5247\u4f11\u606f5\u79d2\u9418\u3002<\/p><\/blockquote>\n\u4e8c\u3001\u4e0a\u50b3\u6a94\u6848\u4e26\u4f7f\u7528BigDump\u532f\u5165\u8cc7\u6599\u5eab <\/span><\/strong><\/h3>\n