Skip to main content

phpMyAdmin import internal 500 error

Comments

1 comment

  • rbairwell

    Personally, I would not attempt to import (or even export) a large file through PhpMyAdmin: there are so many places it could fail (Apache timeout, PHP timeout, PHP memory limit, WHM timeouts etc etc).

    I would import the file via the shell/terminal:

    mysql -u database_username -p database_name < file.sql

    You'll need to have the file uncompressed file - if you don't, try something like:

    gunzip -c file.sql.gz | mysql -u database_username -p database_name

    In both cases, you will be prompted for the database user's password.

     

    1

Please sign in to leave a comment.