无法通过phpmyadmin导入数据库 [英] Can't import database through phpmyadmin
本文介绍了无法通过phpmyadmin导入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试上传数据库(794 KB)我有错误:
When I try upload database (794 kb) I have error:
No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16.
我已经阅读了这个错误很多答案,但我不能找到和决策,并为我的作品的答案。
I have read many answer for this error but I can not find and decision and answers that works for me.
我的服务器:
的Ubuntu 12.10服务器
的Apache / 2.2.22(Apache2的-MPM-ITK)
的MySQL客户端版本5.5.27
的phpmyadmin 3.4.11.1deb1
的nginx / 1.2.1
PHP 5.4.6
配置phpmyadmin的的/ etc / nginx的/默认
Configuration phpmyadmin in /etc/nginx/default
location /phpmyadmin {
root /usr/share/phpmyadmin;
index index.php;
proxy_pass http://backend/phpmyadmin;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $remote_addr;
proxy_connect_timeout 120;
proxy_send_timeout 120;
proxy_read_timeout 180;
}
的php.ini配置
file_uploads = On
upload_tmp_dir = /var/tmp
upload_max_filesize = 128M
max_file_uploads = 30
post_max_size = 128M
感谢您!
推荐答案
Thanks @denys281, that helped me:
chmod -R 777 /var/lib/phpmyadmin/tmp
这篇关于无法通过phpmyadmin导入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文