Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

grant select mysql

Copied 
CREATE USER 'jeffrey'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON db1.* TO 'jeffrey'@'localhost';
GRANT SELECT ON db2.invoice TO 'jeffrey'@'localhost';
ALTER USER 'jeffrey'@'localhost' WITH MAX_QUERIES_PER_HOUR 90;
Source by dev.mysql.com #
 
PREVIOUS NEXT
Tagged: #grant #select #mysql
ADD COMMENT
Topic
Name
4+4 =