Create Database¶
CREATE DATABASE `${DATABASE}`;
Give Permission¶
CREATE USER '${USER}'@'%' IDENTIFIED BY '${PASSWORD}';
GRANT ALL PRIVILEGES ON `${DATABASE}`.* TO '${USER}'@'%';
Change Password¶
ALTER USER '${USER}'@'%' IDENTIFIED BY '${NEW_PASSWORD}';