CREATE DATABASE IF NOT EXISTS node
  DEFAULT CHARACTER SET utf8
  DEFAULT COLLATE utf8_general_ci;

GRANT USAGE ON *.* TO "node"@"localhost" IDENTIFIED BY "nodeNicolas1" 
  WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;
  
GRANT USAGE ON *.* TO "node"@"%" IDENTIFIED BY "nodeNicolas1"
  WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0;

GRANT ALL PRIVILEGES ON node.* TO 'node'@'%';
GRANT ALL PRIVILEGES ON node.* TO 'node'@'localhost';