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条)

报告相同问题?