<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://kb.idcspy.com/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-cn">
		<id>https://kb.idcspy.com/index.php?action=history&amp;feed=atom&amp;title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95</id>
		<title>IXWebHosting中不能导入大数据库的解决方法 - 修订历史</title>
		<link rel="self" type="application/atom+xml" href="https://kb.idcspy.com/index.php?action=history&amp;feed=atom&amp;title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95"/>
		<link rel="alternate" type="text/html" href="https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;action=history"/>
		<updated>2026-05-13T18:00:59Z</updated>
		<subtitle>本站上此页的修订历史</subtitle>
		<generator>MediaWiki 1.16.5</generator>

	<entry>
		<id>https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;diff=2132&amp;oldid=prev</id>
		<title>天意在2012年1月4日 (三) 09:17</title>
		<link rel="alternate" type="text/html" href="https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;diff=2132&amp;oldid=prev"/>
				<updated>2012-01-04T09:17:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2012年1月4日 (三) 09:17所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第24行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第24行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;通过如下办法实现了导入大数据库的操作：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;通过如下办法实现了导入大数据库的操作：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法一：'''通过php文件来导入MySQL数据库，将需要导入的sql文件命名为test.sql，上传到网站根目录，将上面的代码保存为import.php也上传到根目录，然后运行import.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;php（见http&lt;/del&gt;://bbs.idcspy.org/thread-86341-1-1.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;html）， &lt;/del&gt;即可完成数据库的导入。注意：导入之后，请一定要删除或者重命名这个import.php文件。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法一：'''通过php文件来导入MySQL数据库，将需要导入的sql文件命名为test.sql，上传到网站根目录，将上面的代码保存为import.php也上传到根目录，然后运行import.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;php（见 http&lt;/ins&gt;://bbs.idcspy.org/thread-86341-1-1.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;html ）， &lt;/ins&gt;即可完成数据库的导入。注意：导入之后，请一定要删除或者重命名这个import.php文件。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法二：'''通过cpanel客户端来操作：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法二：'''通过cpanel客户端来操作：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>天意</name></author>	</entry>

	<entry>
		<id>https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;diff=2131&amp;oldid=prev</id>
		<title>天意在2012年1月4日 (三) 09:17</title>
		<link rel="alternate" type="text/html" href="https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;diff=2131&amp;oldid=prev"/>
				<updated>2012-01-04T09:17:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2012年1月4日 (三) 09:17所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第24行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第24行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;通过如下办法实现了导入大数据库的操作：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;通过如下办法实现了导入大数据库的操作：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法一：'''通过php文件来导入MySQL数据库，将需要导入的sql文件命名为test.sql，上传到网站根目录，将上面的代码保存为import.php也上传到根目录，然后运行import.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;php（见附件）， &lt;/del&gt;即可完成数据库的导入。注意：导入之后，请一定要删除或者重命名这个import.php文件。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法一：'''通过php文件来导入MySQL数据库，将需要导入的sql文件命名为test.sql，上传到网站根目录，将上面的代码保存为import.php也上传到根目录，然后运行import.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;php（见http://bbs.idcspy.org/thread-86341-1-1.html）， &lt;/ins&gt;即可完成数据库的导入。注意：导入之后，请一定要删除或者重命名这个import.php文件。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法二：'''通过cpanel客户端来操作：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法二：'''通过cpanel客户端来操作：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>天意</name></author>	</entry>

	<entry>
		<id>https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;diff=2130&amp;oldid=prev</id>
		<title>天意在2012年1月4日 (三) 09:16</title>
		<link rel="alternate" type="text/html" href="https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;diff=2130&amp;oldid=prev"/>
				<updated>2012-01-04T09:16:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;←上一修订&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;在2012年1月4日 (三) 09:16所做的修订版本&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第3行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第3行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==IXWebHosting中不能导入大数据库的解决方法==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==IXWebHosting中不能导入大数据库的解决方法==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;通过phpmyadmin 有没有办法？&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;通过phpmyadmin 有没有办法？&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;解决如下：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;解决如下：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;参考phpmyadmin官方文档的参数配置，具体如下：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;参考phpmyadmin官方文档的参数配置，具体如下：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;修改如下：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;修改如下：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;upload_max_filesize = 300M&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;upload_max_filesize = 300M&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;memory_limit = 512M&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;memory_limit = 512M&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;post_max_size = 380M&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;post_max_size = 380M&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;未能通过phpmyadmin导入110M的数据库文件。&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;未能通过phpmyadmin导入110M的数据库文件。&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;通过如下办法实现了导入大数据库的操作：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;通过如下办法实现了导入大数据库的操作：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第19行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第28行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法二：'''通过cpanel客户端来操作：&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''方法二：'''通过cpanel客户端来操作：&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Advanced----Cronjobs-----Add a new cron job，因为只需要运行一次，所以Minute, Hour, Day, Month 都填入准备运行的具体时间，留两分钟余量就行（如果虚拟主机不在本地，可以在FTP 上查看一下主机时间）， Weekday填*号。Command 填待运行的命令，就是导入命令：mysql -u 用户名 -p口令 [-h 数据库主机] 数据库 &amp;lt; 数据库备份.sql假设远程主机的IP为：10.0.0.1，用户名为root,密码为123。则键入以下命令：mysql -h10.0.0.1 -uroot -p123（注：u与root可以不用加空格，其它也一样）&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Advanced----Cronjobs-----Add a new cron job，因为只需要运行一次，所以Minute, Hour, Day, Month 都填入准备运行的具体时间，留两分钟余量就行（如果虚拟主机不在本地，可以在FTP 上查看一下主机时间）， Weekday填*号。Command 填待运行的命令，就是导入命令：mysql -u 用户名 -p口令 [-h 数据库主机] 数据库 &amp;lt; 数据库备份.sql假设远程主机的IP为：10.0.0.1，用户名为root,密码为123。则键入以下命令：mysql -h10.0.0.1 -uroot -p123（注：u与root可以不用加空格，其它也一样）&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;例如，空间的设置如下：mysql -udong -p254605sxz dong_sablog &amp;lt; /home/你的cpanel用户名/public_html/dong_sablog.sql(此处是把dong_sablog.sql放到根目录下的，在localhost环境）&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;例如，空间的设置如下：mysql -udong -p254605sxz dong_sablog &amp;lt; /home/你的cpanel用户名/public_html/dong_sablog.sql(此处是把dong_sablog.sql放到根目录下的，在localhost环境）&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>天意</name></author>	</entry>

	<entry>
		<id>https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;diff=2129&amp;oldid=prev</id>
		<title>天意: 以内容“ 数据库其它相关内容：IXWebHosting中如何查看数据库信息   IXWebHosting中新建MySQL数据库的方法  [[IXWebHosting中修改MySQL数据库...”创建新页面</title>
		<link rel="alternate" type="text/html" href="https://kb.idcspy.com/index.php?title=IXWebHosting%E4%B8%AD%E4%B8%8D%E8%83%BD%E5%AF%BC%E5%85%A5%E5%A4%A7%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E8%A7%A3%E5%86%B3%E6%96%B9%E6%B3%95&amp;diff=2129&amp;oldid=prev"/>
				<updated>2012-01-04T09:15:12Z</updated>
		
		<summary type="html">&lt;p&gt;以内容“ 数据库其它相关内容：&lt;a href=&quot;/IXWebHosting%E4%B8%AD%E5%A6%82%E4%BD%95%E6%9F%A5%E7%9C%8B%E6%95%B0%E6%8D%AE%E5%BA%93%E4%BF%A1%E6%81%AF&quot; title=&quot;IXWebHosting中如何查看数据库信息&quot;&gt;IXWebHosting中如何查看数据库信息&lt;/a&gt;   &lt;a href=&quot;/IXWebHosting%E4%B8%AD%E6%96%B0%E5%BB%BAMySQL%E6%95%B0%E6%8D%AE%E5%BA%93%E7%9A%84%E6%96%B9%E6%B3%95&quot; title=&quot;IXWebHosting中新建MySQL数据库的方法&quot;&gt;IXWebHosting中新建MySQL数据库的方法&lt;/a&gt;  [[IXWebHosting中修改MySQL数据库...”创建新页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新建页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt; 数据库其它相关内容：[[IXWebHosting中如何查看数据库信息]]   [[IXWebHosting中新建MySQL数据库的方法]]  [[IXWebHosting中修改MySQL数据库用户密码的方法 |修改MySQL数据库用户密码的方法]]&lt;br /&gt;
&lt;br /&gt;
==IXWebHosting中不能导入大数据库的解决方法==&lt;br /&gt;
&lt;br /&gt;
通过phpmyadmin 有没有办法？&lt;br /&gt;
解决如下：&lt;br /&gt;
参考phpmyadmin官方文档的参数配置，具体如下：&lt;br /&gt;
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.&lt;br /&gt;
修改如下：&lt;br /&gt;
upload_max_filesize = 300M&lt;br /&gt;
memory_limit = 512M&lt;br /&gt;
post_max_size = 380M&lt;br /&gt;
未能通过phpmyadmin导入110M的数据库文件。&lt;br /&gt;
&lt;br /&gt;
通过如下办法实现了导入大数据库的操作：&lt;br /&gt;
&lt;br /&gt;
'''方法一：'''通过php文件来导入MySQL数据库，将需要导入的sql文件命名为test.sql，上传到网站根目录，将上面的代码保存为import.php也上传到根目录，然后运行import.php（见附件）， 即可完成数据库的导入。注意：导入之后，请一定要删除或者重命名这个import.php文件。&lt;br /&gt;
&lt;br /&gt;
'''方法二：'''通过cpanel客户端来操作：&lt;br /&gt;
Advanced----Cronjobs-----Add a new cron job，因为只需要运行一次，所以Minute, Hour, Day, Month 都填入准备运行的具体时间，留两分钟余量就行（如果虚拟主机不在本地，可以在FTP 上查看一下主机时间）， Weekday填*号。Command 填待运行的命令，就是导入命令：mysql -u 用户名 -p口令 [-h 数据库主机] 数据库 &amp;lt; 数据库备份.sql假设远程主机的IP为：10.0.0.1，用户名为root,密码为123。则键入以下命令：mysql -h10.0.0.1 -uroot -p123（注：u与root可以不用加空格，其它也一样）&lt;br /&gt;
例如，空间的设置如下：mysql -udong -p254605sxz dong_sablog &amp;lt; /home/你的cpanel用户名/public_html/dong_sablog.sql(此处是把dong_sablog.sql放到根目录下的，在localhost环境）&lt;br /&gt;
&lt;br /&gt;
'''方法三：'''使用帝国软件来解决问题。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category:IXWebHosting|I]]&lt;br /&gt;
[[category:IXWebHosting数据库 |I]]&lt;br /&gt;
&lt;br /&gt;
{{Template:IXWebHosting link}}&lt;/div&gt;</summary>
		<author><name>天意</name></author>	</entry>

	</feed>