How do you import a MariaDB database?

More
1 month 2 weeks ago #3326 by Elias
How do you import a MariaDB database?

Please Log in to join the conversation.

More
1 month 2 weeks ago #3327 by Elias
Answered by Elias on question How do you import a MariaDB database?
From command lineCommand line MySQL import (Mariadb is a FREE Mysql)
  1. Type: mysql -u username -p database_name < file.sql.
  2. The username refers to your MySQL username.
  3. database_name refers to the database you want to import.
  4. file. sql is your file name.
  5. If you've assigned a password, type it now and press Enter.
You can also import, using tools, like phpadminImporting to MySQL/MariaDB Databases with phpMyAdmin
  1. Open the target database for editing with phpMyAdmin.
  2. Click Import in the menu bar. ...
  3. In the File to import: section, click Select file and select your backup file.
  4. Specify the desired import settings. ...
  5. Click OK to start the import.
Another way is to write programs in a language like PHP.

Please Log in to join the conversation.

Time to create page: 0.315 seconds