updated creat and grant to mention user

master
Juan 3 years ago
parent def4349e52
commit b9f574b3e6

@ -2,11 +2,11 @@ CREATE DATABASE IF NOT EXISTS `nodeapi`
DEFAULT CHARACTER SET utf8 DEFAULT CHARACTER SET utf8
DEFAULT COLLATE utf8_general_ci; DEFAULT COLLATE utf8_general_ci;
GRANT USAGE ON *.* TO "nodeapi"@"localhost" IDENTIFIED BY "RDSGF435FG" GRANT USAGE ON *.* TO "nodeapiuser"@"localhost" IDENTIFIED BY "RDSGF435FG"
WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
GRANT USAGE ON *.* TO "nodeapi"@"%" IDENTIFIED BY "RDSGF435FG" GRANT USAGE ON *.* TO "nodeapiuser"@"%" IDENTIFIED BY "RDSGF435FG"
WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0; WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapi'@'%'; GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapiuser'@'%';
GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapi'@'localhost'; GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapiuser'@'localhost';
Loading…
Cancel
Save