MariaDB Scripting



index
Disabled back button Next Section
printable version

Section 0: Module Objectives or Competencies
Course Objective or Competency
The student will be able to install an RDBMS and utilize a wide range of features available in that RDBMS.

Section 1: Reference

Here is an external reference that provides a fairly thorough overview. While it was written for MySQL, it is pertinent to MariaDB as well.

This similar link is brief but informative. Step 2 refers to this topic.

To test this with an actual script, download Pubs.sql.txt (if you have not already done so) and delete the .txt from the file name.

If you stored the .sql file in the root directory of drive C:, you could then issue the following command from the MariaDB command line interface.

SOURCE c:\pubs.sql;

To see if it worked, you could run the command:

SHOW DATABASES;