04 - MariaDB Create User and Database
04 - MariaDB Create User and Database
TITLE : To perform the basic SQL commands on Rasberry Pi Using Maria DB..
AIM: To create new user and execute the basic SQL commands on Rasberry Pi Using Maria
DB..
SCOPE: Understand the user creation and database updation of mariaDB database on
Raspberry Pi 3.
FACILITIES/ APPARATUS:
i) Hardware:
Raspberry Pi 3 (B+), Monitor, USB Keyboard, USB Mouse, HDMI-VGA Convertor, A high-
quality 2.5A micro USB power supply, Micro SD card with NOOBS.
ii) Software:
THEORY:
MariaDB is a popular fork of MySQL created by MySQL's original developers. It grew out
of concerns related to MySQL's acquisition by Oracle. It offers support for both small data
processing tasks and enterprise needs. It aims to be a drop-in replacement for MySQL
requiring only a simple uninstall of MySQL and an install of MariaDB. MariaDB offers the
same features of MySQL and much more.
Key Features of MariaDB
The important features of MariaDB are
All of MariaDB is under GPL, LGPL, or BSD.
MariaDB includes a wide selection of storage engines, including high-performance
storage engines, for working with other RDBMS data sources.
MariaDB uses a standard and popular querying language.
MariaDB runs on a number of operating systems and supports a wide variety of
programming languages.
MariaDB offers support for PHP, one of the most popular web development
languages.
MariaDB offers Galera cluster technology.
MariaDB also offers many operations and commands unavailable in MySQL, and
eliminates/replaces features impacting performance negatively.
Once you are connected, you can use all the MySQL queries like these:
• SHOW DATABASES;
• USE <database>;
• SHOW TABLES;
• SELECT * FROM <table>;
• UPDATE, INSERT, DELETE, …
CONCLUSION:
In this experiment we had seen how to create new user and table in database MariaDB on
Raspberry Pi.
OUTPUT: