

Get in touch

Download Plugin Now
  • Follow
  • Follow
WP Data Access
  • Download
  • Support
  • Features
  • Pricing
  • Documentation
    • Tool Guide
    • App Builder
    • Data Explorer
    • SQL Query Builder
    • Plugin Settings
    • Legacy Tools
    • Remote Connections
a
M
M
  • Download
  • Support
  • Features
  • Pricing
  • Documentation
    • Tool Guide
    • App Builder
    • Data Explorer
    • SQL Query Builder
    • Plugin Settings
    • Legacy Tools
    • Remote Connections
Download Plugin Now

Data Explorer

  • Getting started
  • Navigation
  • Explore tables & views
  • Manage tables & views
  • Naming conventions

Manage Settings

  • Settings
  • Table Settings
  • Column Settings
  • Search Settings
  • Geolocation Settings
  • Dynamic Hyperlinks
  • Dashboard Menus

Manage Actions

  • Actions

Data Management

  • Import CSV & SQL files
  • Run SQL script files
  • Data Backup

REST API

  • Getting started
  • /wpda/table/meta
  • /wpda/table/select
  • /wpda/table/get
  • /wpda/table/insert
  • /wpda/table/update
  • /wpda/table/delete

Problems & solutions

  • InnoDB #rows estimation
  • Import file too large
  • Transfer to other WP DB
View Categories

Import file too large

PROBLEM #

The message “ERROR: File upload failed” usually means that you are trying to import a file which is too large. Although the plugin checks the file size against your “upload_max_size” settings there are other settings which might cause problems

EASY SOLUTIONS #

The simplest solution is to compress your SQL file and upload it as a ZIP file. WP Data Access will recognize ZIP files, extract them and process the content. This will only work however if you have ZipArchive installed and files might of course still be to large.

BIT MORE WORK SOLUTIONS #

You can solve this problem by changing the following parameters:

  • file_uploads
  • upload_max_filesize
  • post_max_size
  • max_execution_time
  • max_input_time

Navigate to “Manage Plugin” > “System Info” to check your settings!

There are three different ways to change these parameter, all described below. Replace the values for the parameters with the ones prefer.

1) Add the following lines of code to the function.php file of your theme #

@ini_set( 'file_uploads' , 'On' );
@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );
@ini_set( 'max_input_time', '300' );

2) Add the following lines to your php.ini file #

file_uploads = On 
upload_max_filesize = 64M 
post_max_size = 64M 
max_execution_time = 300 
max_input_time = 300
Don't forget to restart your web server!

3) Add the following lines to your .htaccess file #

php_value file_uploads On
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300

NOTES #

  • If you change the parameters to the ones mentioned above your users will be able to upload 64M files. That’s most probably not what you want. Don’t forget to decrease the parameter values after finishing your import.
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on 2025-02-07
InnoDB #rows estimationTransfer to other WP DB

Submit a Comment Cancel reply

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

Table of Contents
  • PROBLEM
  • EASY SOLUTIONS
  • BIT MORE WORK SOLUTIONS
    • 1) Add the following lines of code to the function.php file of your theme
    • 2) Add the following lines to your php.ini file
    • 3) Add the following lines to your .htaccess file
  • NOTES
WP Data Access
  • Follow
  • Follow
Quick Links
$

Blogs

$

Tutorials

$

Demos

Get in touch
$

Premium support

$

Free support forum

$

Contact us

Resources


WordPress plugin directory



YouTube tutorials

Copyright © 2025 | All Right Reserves

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok