Solved

Moving MySql Databases local pc to local pc

Posted on 2014-03-07
3
657 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 35

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 35

Expert Comment

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

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with mod_substitute 18 45
Codeigniter Query Help Returning JSON 4 50
i am unable to add data to mysql database 6 55
MySQL programmer starter 25 32
This article discusses how to create an extensible mechanism for linked drop downs.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

730 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