grant permission mysql user database code example
Example: assign user to database mysql
GRANT type_of_permission ON database_name.table_name TO ‘username’@'localhost’;
GRANT type_of_permission ON database_name.table_name TO ‘username’@'localhost’;