In the previous chapter, we learned how to install and update MariaDB, and we started playing with mysql
, its command-line client. In this chapter, we will learn how to create the data structures on which we want to work. We will use the MariaDB server that we installed in the previous chapter, and use the already explained command-line client. We will also create an example database that will be used in the rest of the book.
In particular, we will cover the following topics:
Working with databases
Working with tables
Data types
Character sets and collations
Storage engines
Indexing
Using comments
Working with metadata
Creating an install script