Solved

Moving MySql Databases local pc to local pc

Posted on 2014-03-07
3
652 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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…

829 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