Recent
Favorites

Drop files here

SQL upload ( 0 ) x-

Server: localhost
Page-related settingsClick on the bar to scroll to top of page
Press Ctrl+Enter to execute queryPress Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count: Time taken:
Options
Set default





Collapse Expand Requery Edit Explain Profiling Query failed Database: Queried time:

Import defaults

Customize default common import options.

Default format; be aware that this list depends on location (database, table) and only SQL is always available.
Allow interrupt of import in case script detects it is close to time limit. This might be a good way to import large files, however it can break transactions.
Number of queries to skip from start.
SQL

Customize default options.

CSV

Customize default options.

CSV
Update data when duplicate keys found on import
CSV using LOAD DATA
Update data when duplicate keys found on import
OpenDocument

Customize default options.

OpenDocument Spreadsheet
ajax clock

File to import:

File may be compressed (gzip, bzip2, zip) or uncompressed.
A compressed file's name must end in .[format].[compression]. Example: .sql.zip
(Max: 1,024MiB)
You may also drag and drop a file on any page.

Partial import:


Other options:

Format:

Format-specific options:

Scroll down to fill in the options for the selected format and ignore the options for other formats.

OpenDocument Spreadsheet

XML

This format has no options

MediaWiki Table

This format has no options

SQL

CSV

ESRI Shape File

This format has no options

Warning in ./libraries/dbi/DBIMysqli.class.php#261
mysqli_query(): MySQL server has gone away

Backtrace

./libraries/dbi/DBIMysqli.class.php#261: mysqli_query(
object,
string 'DELETE FROM `mysql`.`columns_priv` WHERE `host` = "" AND `Db` = "" AND `User` = "" LIMIT 1',
integer 0,
)
./libraries/DatabaseInterface.class.php#246: PMA_DBI_Mysqli->realQuery(
string 'DELETE FROM `mysql`.`columns_priv` WHERE `host` = "" AND `Db` = "" AND `User` = "" LIMIT 1',
object,
integer 0,
)
./libraries/check_user_privileges.lib.php#112: PMA_DatabaseInterface->tryQuery(string 'DELETE FROM `mysql`.`columns_priv` WHERE `host` = "" AND `Db` = "" AND `User` = "" LIMIT 1')
./libraries/check_user_privileges.lib.php#417: PMA_checkRequiredPrivilegesForAdjust()
./libraries/List_Database.class.php#17: require_once(./libraries/check_user_privileges.lib.php)
./libraries/PMA.php#17: require_once(./libraries/List_Database.class.php)
./libraries/common.inc.php#1090: include_once(./libraries/PMA.php)
./server_import.php#12: require_once(./libraries/common.inc.php)
Warning in ./libraries/dbi/DBIMysqli.class.php#261
mysqli_query(): Error reading result set's header

Backtrace

./libraries/dbi/DBIMysqli.class.php#261: mysqli_query(
object,
string 'DELETE FROM `mysql`.`columns_priv` WHERE `host` = "" AND `Db` = "" AND `User` = "" LIMIT 1',
integer 0,
)
./libraries/DatabaseInterface.class.php#246: PMA_DBI_Mysqli->realQuery(
string 'DELETE FROM `mysql`.`columns_priv` WHERE `host` = "" AND `Db` = "" AND `User` = "" LIMIT 1',
object,
integer 0,
)
./libraries/check_user_privileges.lib.php#112: PMA_DatabaseInterface->tryQuery(string 'DELETE FROM `mysql`.`columns_priv` WHERE `host` = "" AND `Db` = "" AND `User` = "" LIMIT 1')
./libraries/check_user_privileges.lib.php#417: PMA_checkRequiredPrivilegesForAdjust()
./libraries/List_Database.class.php#17: require_once(./libraries/check_user_privileges.lib.php)
./libraries/PMA.php#17: require_once(./libraries/List_Database.class.php)
./libraries/common.inc.php#1090: include_once(./libraries/PMA.php)
./server_import.php#12: require_once(./libraries/common.inc.php)
Warning in ./libraries/dbi/DBIMysqli.class.php#239
Error while sending INIT_DB packet. PID=1736543

Backtrace

./libraries/dbi/DBIMysqli.class.php#239: mysqli_select_db(
object,
string 'phpmyadmin',
)
./libraries/DatabaseInterface.class.php#2798: PMA_DBI_Mysqli->selectDb(
string 'phpmyadmin',
object,
)
./libraries/relation.lib.php#474: PMA_DatabaseInterface->selectDb(
string 'phpmyadmin',
object,
)
./libraries/relation.lib.php#66: PMA_checkRelationsParam()
./libraries/user_preferences.lib.php#47: PMA_getRelationsParam()
./libraries/Config.class.php#987: PMA_loadUserprefs()
./libraries/common.inc.php#1127: PMA_Config->loadUserPreferences()
./server_import.php#12: require_once(./libraries/common.inc.php)
Notice in ./libraries/DatabaseInterface.class.php#2623
Undefined offset: 1

Backtrace

./libraries/server_common.inc.php#36: PMA_DatabaseInterface->isUserType(string 'grant')
./server_import.php#25: require(./libraries/server_common.inc.php)
Notice in ./libraries/DatabaseInterface.class.php#2618
Undefined offset: 1

Backtrace

./libraries/server_common.inc.php#37: PMA_DatabaseInterface->isUserType(string 'create')
./server_import.php#25: require(./libraries/server_common.inc.php)