Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Jordan Young
Jordan Young
2,741 Points

Import .sql into phpMyAdmin

I'm working on the WordPress Development track. Right now I'm on the Migrating WordPress from Local to Live Server. I exported my .sql, and I'm supposed to import it in phpMyAdmin.

I get this message every time: "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."

FAQ 1.16 did not address the issue. I choose the file, and it's name shows up under "File to Import." The file size is only 400kb, and it's the exact same file that's being used in the tutorial.

Any ideas on how to get this working?

3 Answers

Andrew McCormick
Andrew McCormick
17,730 Points

have you tried zipping the file and then uploading it? Every server isn't set the same, so your php.ini file on your host may differ from that in the video. I would try to zip it and upload just to see.

Jordan Young
Jordan Young
2,741 Points

I tried zipping it, to no avail. I am using the Web Hosting For Students like in the video. Is it possible I deleted the php.ini file? Is there a way to restore default files and folders, etc. to my server, as it was when I first got it?

Zac Gordon
STAFF
Zac Gordon
Treehouse Guest Teacher

Double check that you have a valid .sql file with content inside it. That may be the problem.