sudo apt update
sudo apt install mysql-server
sudo mysql
Create db and user for your project
CREATE DATABASE <db_name>;
CREATE USER '<username>'@'localhost' IDENTIFIED WITH mysql_native_password BY '<password>';
GRANT CREATE ON *.* TO 'djangouser'@'localhost';
GRANT ALL ON *.* TO 'djangouser'@'localhost';
FLUSH PRIVILEGES; #