phpmyadmin 导入大数据的方法
phpMyAdmin目录下新建一个目录,如:importsqlfile,再编辑phpMyAdmin目录下libraries\config.default.php文件,
查找$cfg['UploadDir'],将其值写为新建目录的名称,如下所示:
代码:
$cfg['UploadDir'] = ‘jonson’;// Directory for uploaded files that can be executed by
// phpMyAdmin. For example ‘./upload’. Leave empty for
// no upload directory support. Use %u for username
// inclusion.
$cfg['SaveDir'] = ”; // Directory where phpMyAdmin can save exported data on
// server. For example ‘./save’. Leave empty for no save
// directory support. Use %u for username inclusion.
将要导入到数据库的文件上传到刚才新建的importsqlfile文件夹中,登录phpMyAdmin,选择你的数据库,在右侧窗口中点击“import(导入)”,这时你会发现导入界面中多了一个“网站服务器上载目录”选项,点击下拉箭头,列表里会有刚才上传的文件名称列表。
选中文件,点击右下角的“执行”按钮,等待一段时间(等待的时间与导入文件体积成正比)即可完成“超重”文件的导入。
[url=http://erochka.com/]интим клуб[/url]
[url=http://3xnet.ru/]gjhyj[/url]
Oh, I absolutely agree!
that was so good to read and so representative and so true.
I like it! Very appropriate. Thank you.
Hundreds of thanks.
Thank you.Goddess of 2010. Let’s make this a positively, loving year.
I had a quick look in the wonderful blog and I was magnetized by the plot.
I believe sharing is a blessing. So thanks for sharing the free web works.
Visiting you is always a good pleasure. Thanks for your post.
I’m excited about this.
That is true but it sometimes takes us a long time to figure it out.
be always proud of who you are. Your decision are very wise.
Love, support and many blessings to you
need to check