Importing SQL Files into MySQL Databases Using phpMyAdmin
If you backed up or exported a database to a
SQL file, you can import it into one of your hosting account's MySQL databases through phpMyAdmin.
To Import SQL Files into MySQL Databases Using phpMyAdmin
- Access phpMyAdmin for the database you want to use (more info).
- Click (Query window).
- (cPanel only) On the left, click the database you want to use.
- Go to the Import files tab.
- Click Choose File, locate the
SQLfile on your computer, click Open, and then click Go.
This runs the SQL file and updates the database as specified in your
NOTE: The phpMyAdmin interface only lets you import 8MB of data at one time. If you need to import more than 8MB, we recommend breaking up the file into 8MB pieces.
NOTE: You do not need to include the CREATE DATABASE line in your MySQL database. If you do include it, your import might fail. We recommend removing the line before importing your database.
What are the new features available in MySQL 4.1?
How many simultaneous connections can one MySQL database have?
What are the major differences between MySQL 4.0 and 4.1/5.0?
Which MySQL features do you disable on hosting accounts?
How do I recompile the MySQL library to run under medium trust?
How do you limit MySQL databases?