Grant Access to a User¶
GRANT ALL PRIVILEGES ON `database`.* TO '${USERNAME}'@'${HOSTNAME}'; You can use % as the host to act as a wildcard.
GRANT ALL PRIVILEGES ON `database`.* TO '${USERNAME}'@'${HOSTNAME}'; You can use % as the host to act as a wildcard.