Previous Post:

Here is the necessary sql to create a user and database of the same name. Note to my future self.

CREATE USER 'username'@'%' IDENTIFIED BY 'password';
GRANT USAGE ON * . * TO 'username'@'%' IDENTIFIED BY 'password' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 MAX_USER_CONNECTIONS 0 ;
CREATE DATABASE IF NOT EXISTS `username` ;
GRANT ALL PRIVILEGES ON `username` . * TO 'usernamel'@'%';

Yes, the code is created using phpmyadmin.