Answers for "grant all permision to root user mysql"

SQL
24

mysql grant all privileges to a user

GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
Posted by: Guest on March-18-2020
2

grant revoke privileges to mysql username

#in SQL execute
#GRANT type_of_permission ON database_name.table_name TO 'username'@'localhost';
GRANT ALL PRIVILEGES ON * . * TO 'username'@'localhost';
#reload all the privileges
FLUSH PRIVILEGES;

#Show Privileges
SHOW GRANTS FOR 'username'@'localhost';

#Revoke Privileges
REVOKE type_of_permission ON database_name.table_name FROM 'username'@'localhost';
Posted by: Guest on November-03-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
0

grant user all privileges

mysql> GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';
Posted by: Guest on September-11-2020

Code answers related to "grant all permision to root user mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language