sudo apt-get update
sudo apt install mysql-server mysql-client
sudo mysql
show databases;
CREATE USER 'username'@'%' IDENTIFIED BY 'password';
select user from mysql.user;
GRANT ALL PRIVILEGES ON *.* TO 'username'@'%' WITH GRANT OPTION;
show grants for username;
\q
mysql -u username -p
create database databasename;
show databases;
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
0.0.0.0
/etc/init.d/mysql restart