0 votes

How do you import a MariaDB database?
in General by (73.3k points) | 24 views

1 Answer

0 votes

From command line

Command 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 phpadmin

Importing 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.

by (73.3k points)

1.8k questions

1.8k answers

85.0k users

14 Online Users
0 Member 14 Guest
Today Visits : 667
Yesterday Visits : 3892
Total Visits : 2009082
Dear All, These are my answers from Quora and primarily Google; please check the answer and from others sites; the answers are free and without any liability.To make a decision, write down all of the positives and negatives on a piece of paper.Thank you, Elias Katsaniotis, MSc.
1,829 questions
1,840 answers
85,032 users
@ 2022 V Katsanioti ,All rights reserved