Login to SSH and then sudo mysql -u root -p
Hit enter, by default there's no password.
CREATE DATABASE db_name;
CREATE USER 'db_user' IDENTIFIED BY 'STRONG_PASSWORD';
GRANT ALL PRIVILEGES ON db_name.* TO 'db_user';
FLUSH PRIVILEGES;
EXIT;
Login to SSH and then sudo mysql -u root -p
Hit enter, by default there's no password.
CREATE DATABASE db_name;
CREATE USER 'db_user' IDENTIFIED BY 'STRONG_PASSWORD';
GRANT ALL PRIVILEGES ON db_name.* TO 'db_user';
FLUSH PRIVILEGES;
EXIT;