Then I like to install Maria DB instead of mySQL.Also i think most are now shifting to Maria Db
$ sudo apt install Maria Db-server
What else can I use for installing my distro of the ubuntu variations, i.e xubuntu is out there instead of using sudo?if your using sudo proabably your distro is one of the ubuntu variations
apt update
apt install mariadb-server
systemctl status mariadb
● mariadb.service - MariaDB database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset
Active: active (running) since Sun 2018-07-29 19:31:31 UTC; 38s ago
Main PID: 13932 (mysqld)
Status: "Taking your SQL requests now..."
Tasks: 27 (limit: 507)
CGroup: /system.slice/mariadb.service
└─13932 /usr/sbin/mysqld
mysql -V
mysql Ver 15.1 Distrib 10.1.29-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://ftp.utexas.edu/mariadb/repo/10.3/ubuntu bionic main'
apt update
apt install mariadb-server
systemctl status mariadb
it says the following which is translated by myself from my mother-tongue to Enlgish$ apt install mariadb-server
How can I make it work?lock file
/var/lib/dpkg/lock- frontend file can't be opened approve denied.
unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-forntend), are you root?
#apt install mariadb-server