mysql user permission database
snippet in sql

mysql user permission database

user3266

GRANT ALL PRIVILEGES ON `db_name`.* TO 'user'@'host'

mysql user access to database

user1688

GRANT ALL PRIVILEGES ON dbTest.* To 'user'@'hostname' IDENTIFIED BY 'password';