

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
  • 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
Links
$

Imprint

$

Privacy policy

$

Cookie policy

Get in touch
$

Contact us

$

Free support forum

$

Premium support

Resources


WordPress plugin directory



YouTube tutorials

Copyright © 2025 | All Right Reserves

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}