Answers for "GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';"

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
0

mysql grant all privileges on *.* to 'root'@' ' identified by

mysql> CREATE USER 'root'@'%' IDENTIFIED BY 'PASSWORD';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
Posted by: Guest on August-31-2021
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

mysql> grant all privileges on *.* to root@localhost identified by 'password' with grant option;

mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;
Posted by: Guest on August-21-2021

Code answers related to "GRANT ALL PRIVILEGES ON database_name.* TO 'username'@'localhost';"

Code answers related to "SQL"

Browse Popular Code Answers by Language