How do you grant permission to access a database?
To GRANT ALL privileges to a user , allowing that user full control over a specific database , use the following syntax: mysql> GRANT ALL PRIVILEGES ON database_name.* TO ‘username’@’localhost’; How do you grant permissions to a database? To GRANT ALL privileges to a user , allowing that user full control over a specific database , use the following syntax: …