CREATE DATABASE IF NOT EXISTS `nodeapi` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; 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 "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 'nodeapiuser'@'%'; GRANT ALL PRIVILEGES ON `nodeapi`.* TO 'nodeapiuser'@'localhost';