diff --git a/b3-dev/node/session2/mariadb/creat-and-grant.sql b/b3-dev/node/session2/mariadb/creat-and-grant.sql index a204e32..051e006 100644 --- a/b3-dev/node/session2/mariadb/creat-and-grant.sql +++ b/b3-dev/node/session2/mariadb/creat-and-grant.sql @@ -2,11 +2,11 @@ CREATE DATABASE IF NOT EXISTS `nodeapi` DEFAULT CHARACTER SET utf8 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; -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; -GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapi'@'%'; -GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapi'@'localhost'; \ No newline at end of file +GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapiuser'@'%'; +GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapiuser'@'localhost'; \ No newline at end of file