anouk
0
Q:

grant all priviledges to mysql user

GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
13
/*
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 mydb.* TO 'myuser'@'%' WITH GRANT OPTION;

/*
I hope it will help you.
Namaste
*/
6

New to Communities?

Join the community