Solved

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

Posted on 2008-09-29
4
255 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
  • 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access - need to reduce row size 25 54
ignore other .htaccess 2 45
BACKUP of mysql database from mysql server - using Coldfusion 9 37
Showing random records from database 10 37
As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

803 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