dousong5492 2015-03-11 12:59 采纳率: 100%
浏览 63
已采纳

文件大小限制在PhpMyAdmin中达到34KB文件

I looked for people with a similar error but I didn't find anyone. Basically, I want to import data from my database into a database on a test server, both fully running with PhpMyAdmin. I have exported my data from the full database and then tried importing it on the test server, however I get a file size 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.

The file however has a size of 34 KB, so that error completely mystifies me. Any experience with this?

  • 写回答

2条回答 默认 最新

  • dongtun1872 2015-03-11 13:36
    关注

    The problem was the following: All configurations in my php.ini were correct, and I had no upload_tmp_dir specified. However, phpymadmin had its own custom temporary upload folder, located at /var/lib/phpmyadmin/tmp This was set to drwxr (read, write, execute), however it didn't belong to my user, so I did a chown username tmp, and it works now.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用