Before you can read and write data to the Database inside your virtual machine, you need to finish setting up MariaDB Server.
Prerequisites: ...