Solved

Moving MySql Databases local pc to local pc

Posted on 2014-03-07
3
630 Views
Last Modified: 2014-03-07
I wish move several mysql databases from one local pc to another.

I moved the first database by creating a dump file in Navicat.

I then imported this via phpmyadmin. This went very well and all is working.

I then tried to move another MySql datbase, (the dump file size is 6,031) but am getting the 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 This is located at
http://localhost/phpmyadmin/doc/html/faq.html#faq1-16."

faq1-16 says
The first things to check (or ask your host provider to check) are the values of upload_max_filesize,
memory_limit and post_max_size in the php.ini configuration file.
All of these three settings limit the maximum size of data that can be submitted and handled by PHP.
One user also said that post_max_size and memory_limit need to be larger than upload_max_filesize.

I  set upload_max_filesize=20M
and post_max_size=20M
memory_limit=128M

But it made no difference, I still get the same error.

Has anyone suggestions where I may be going wrong please?

Many thanks

John
0
Comment
Question by:johnhardy
  • 2
3 Comments
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39912136
After you made changes to php.ini, did you restart the web server? I always forget to do that...

Simply check with phpinfo() if the changes are in effect.

HTH,
Dan
0
 

Author Closing Comment

by:johnhardy
ID: 39912143
Thank Dan
Regards

John
0
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 39912168
Glad I could help!
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now