MySQL - Create user, database and set permissions
Login in MySQL mysql -u root -p
Create the database:
CREATE DATABASE mydbname;
Create a new user (only with local access) and grant privileges to this user on the new database.
If your stack ships MySQL v8.x:
mysql> create user 'USER_NAME'@'localho...
glk.hashnode.dev1 min read