Skip to content
Drempd Logo
  • home
  • portfolio
  • web design journal
  • blog
    • adventure
    • san diego
    • projects
    • website design
    • code notes
  • contact
Blog Web Dev Importing Large MySQL Files into PHPMyAdmin

Importing Large MySQL Files into PHPMyAdmin

By Forrest Smith - Drempd.com

The default file size for uploading mysql dump files into PHPmyadmin is around 2mb. I needed to upload a 160mb file. How to do it?

1. Increase the maximum execution time for phpmyadmin:

I use xampp, so I just had to find the config.default.php file, which for me was located in xampp/phpMyAdmin/libraries/config.default.php. I then searched for the line $cfg[‘ExecTimeLimit’], and set this value to 0, for no limit.

2. Set a PhpMyAdmin Upload Directory

Thanks to the following stackoverflow article, I edited the config.inc.php file. I searched for the line $cfg[‘UploadDir’], and set that to ‘upload’.

3. Create the Upload Directory

I then created a folder named ‘upload’ within the phpmyadmin directory (so for me, this is ‘D:/xampp/phpMyAdmin/upload’) copy your mysql dump file to this folder.

4. Import the file

For the database you want to import the msql dump file to, go to the ‘import’ tab. There should now be a dropdown menu with the filename that you copied into that folder. Click on that, and then submit the import. Importing may take quite a while, but should work.

Posted on February 15, 2019August 15, 2020 in Web Dev

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

I love to create and explore. Whether building a website or app, taking a long walk through the mountains, or playing with a random idea, I've found that there will never be enough time to experience it all. But that won't stop me from trying.

Web Design & Development

  • Portfolio
  • San Diego Website Design
  • Custom Web Design
  • Responsive Web Design
  • Website Maintenance
  • Freelance Web Designer
  • Web Design Posts
  • Website Checklist

Projects

  • Zindash
  • Opti
  • Saphire CSS
  • Ergo Blocks

Blog

  • Adventure
  • San Diego
  • Projects
  • Website Design
  • ArchUrban
  • Technology
  • Code Notes

About

  • Bluesky
  • Resume
  • Contact
drempd | san diego, ca
© 2026 Drempd All rights reserved.