Update source, perform the installation
sudo apt update
sudo apt install mysql-server
Obtain a temporary password
sudo vim /etc/mysql/debian.cnf
Log mysql, copy and paste the password to enter your password below stage
mysql -u root -p
change Password
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'Abc123456,';
Allow remote connections
sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf
Comment the following line bind ip # denotes a comment
bind-address = 127.0.0.1