This guide will show you the basic MySQL command in adding database,users with password and also assign ownership/permission for a user to a database First login to your mysql database via root : Use below commands to create database and create user that have access to the databases please change [database name] , [database user] ..