Answers for "how to provide grants to user in mysql"

SQL
2

mysql grant all privileges to user from any host

GRANT ALL PRIVILEGES ON database_name. * TO 'username'@'localhost';
Posted by: Guest on August-24-2020
13

grant all privileges mysql

/*
The GRANT statement is used to assign full control over specific database by providing all priviledge.
Follow below statement for assign priviledge to user
*/

Syntax: 
GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
Posted by: Guest on June-08-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language