Category: Ubuntu

Added: 26th of May 2018

Viewed: 1572 times

Install MariaDB Database in Ubuntu and other Ubuntu based distributions (Part 1)

Part 1: Install MariaDB in Ubuntu
Part 2: Create a new user

To install MariaDB Database server in Ubuntu and other Ubuntu based distributions enter the following command in your terminal

sudo apt-get install mariadb-server

When MariaDB Database installs it will ask you to set a root password. If you plan to host your own MariaDB Database(s) online it is advisable to set a root password. If your just planning on hosting a local database to practice on, you can skip the root password.



After MariaDB Database has installed you need to login via the Terminal.

To login to MariaDB enter the following command in the terminal
mysql -u root -p


You will be asked to enter your root password, the one you set up whilst installing MariaDB. If you didn't enter a password just click enter.

If you logged in correctly, the MariaDB prompt will be displayed in the terminal.
From here you can create, insert, update, delete, databases, tables, create new users.

Other Tips & Tutorials

Ubuntu

How to find out what date you installed Linux on your machine

Posted: 13th of April 2021

Views: 283

Ubuntu

Install bashtop in Ubuntu and Ubuntu based distributions. Monitor your cpu, memory, disks, network and other processes

Posted: 21st of February 2021

Views: 363

Ubuntu

Ubuntu 20.10 Groovy Gorilla installation error, installer crashed

Posted: 3rd of February 2021

Views: 686

Ubuntu

Find out what version of Ubuntu you are running, using the terminal

Posted: 29th of January 2021

Views: 316

Ubuntu

Install Redshift to automatically adjust the colour of your screen depending on time of day on Ubuntu and Ubuntu based distributions

Posted: 26th of November 2020

Views: 726

Ubuntu

PulseAudio, Pavucontrol not saving settings after reboot on Ubuntu and Ubuntu based distributions

Posted: 11th of November 2020

Views: 2539

Ubuntu

No sound after installation of Ubuntu or Ubuntu based distribution, install pavucontrol

Posted: 9th of November 2020

Views: 396

Ubuntu

Shutdown Ubuntu and Ubuntu based distributions at a specific time or within (x) minutes

Posted: 30th of October 2020

Views: 477

Ubuntu

Open and edit files using Visual Studio Code from FIlezilla FTP Client on Linux

Posted: 27th of October 2020

Views: 5685

Ubuntu

Download Microsoft Edge preview version for Ubuntu and Ubuntu based distributions

Posted: 22nd of October 2020

Views: 485