Material for Platform Based Development
sudo apt update
sudo apt install mysql-server
sudo apt update
sudo apt install default-mysql-server
Configure the user for your MySQL Server
sudo /etc/init.d/mysql start
sudo mysql
Type it with the quotes.
CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON * . * TO 'newuser'@'localhost';
FLUSH PRIVILEGES;
exit
mysql -u newuser -p
sudo /etc/init.d/mysql stop