How do I import into a MariaDB - MySQL database?

import a database with Ultra Web Hosting phpMyAdmin:

  1. Log in to your control panel with Ultra.
  2. Click phpMyAdmin.
  3. Click the name of the database you are working with.
  4. Click on the "Import" tab near the top.
  5. In the "File to Import" section, click on the "Choose File" button and select the SQL file that you want to import.
  6. In the "Format" section, select "SQL".
  7. Click on the "Go" button.

phpMyAdmin will import the database from the SQL file. The process may take a few minutes, depending on the size of the database.

You may need to clear the database first by deleting it and recreating it in the "MySQL Databases" section of your control panel.

 

Additional tips for importing a database with phpMyAdmin:

 

  • Make sure that the SQL file is in the correct format. The SQL file should be a text file that contains the SQL statements that you want to execute.
  • Make sure that the SQL file is compatible with your MySQL version. The SQL file should be compatible with the version of MySQL that is running on your server.
  • Back up your database before you import the SQL file. This will help you to protect your data in case something goes wrong during the import process. You may backup the database in phpmyadmin via the "Export" tab.

If you need additional help, please contact Ultra support


 

 

 
  • 526 Users Found This Useful

Was this answer helpful?

Related Articles

Register Globals On Off

The error message Register Globals On means that the register_globals directive is set to On in...

Test MySQL Connection

The following is a great way to verify a MySQL / MariaDB database connection issue. Create a file...

How to Disable XCache for a Domain

On many of our servers xcache is use as part of the php caching mechanism. If you are...

When trying to connect to MariaDB or MySQL you receive error 2003 Cannot connect to MySQL on xxxxxx on port 3306 10060

The error 2003 "Cannot connect to MySQL on xxxxxx on port 3306 10060" means that the MySQL...

The MySQL server is currently offline admin bin Cpanel/cpmysql/DBCACHE: exit 11

The error message...  The MySQL server is currently offline admin bin Cpanel/cpmysql/DBCACHE:...