Solved

phpMyAdmin import of database into MySQL in Windows not completing -- need help!

Posted on 2008-09-29
4
257 Views
Last Modified: 2013-12-13
I am migrating data from one server to another.  I am exporting (individually) each MySQL database table from my old server, saving it as a zipped SQL file, then importing it into MySQL on my new server.  I have been successful for many tables, so far.  I am, however, running into problems getting the larger tables to carry over.  I am not getting any error, but the phpMyAdmin screen goes white and never completes.

I need to know all config variables that might be affecting this issue, so that I can increase them accordingly.  There is a config file for MySQL, and also one for php.  Any guidance that can be given as to how to work around this problem, is also welcome.  I just need to get my data copied over somehow!!!


0
Comment
Question by:sah18
[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
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
trickyidiot earned 300 total points
ID: 22597633
It would be easier to transfer the zip file to the server, unzip it and run the query from the bash prompt:

mysql -u username -p databasename < sqlfile.sql
0
 
LVL 29

Assisted Solution

by:fibo
fibo earned 200 total points
ID: 22600819
Don't loose time.
1 - export the whole base from mysql using phpmyadmin, with options 'complete inserts' checked and 'extended inserts' NOT checked.
2 - upload you file using bigdump http://www.ozerov.de/bigdump.php
0
 
LVL 6

Assisted Solution

by:trickyidiot
trickyidiot earned 300 total points
ID: 22600943
Are you seriously advising to use a public website to handle potentially sensitive data?

Not. Cool.
0
 
LVL 29

Expert Comment

by:fibo
ID: 22601000
Hi tricky
Glad you looked at the link and understood it gave a script to upload on the target site.

This script is secure and can be audited, and works like charm for massive imports of that type.
Is that your experience with that script?
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This article discusses how to create an extensible mechanism for linked drop downs.
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

734 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