mysql give user access to create database code example
Example 1: create user mysql
CREATE USER 'norris'@'localhost' IDENTIFIED BY 'password';
Example 2: mysql user access to database
GRANT ALL PRIVILEGES ON dbTest.* To 'user'@'hostname' IDENTIFIED BY 'password';