Create a user and give it access to all database that begin with username_
GRANT ALL ON `USERNAME\_%`.* TO 'USERNAME'@'localhost' IDENTIFIED BY 'PASSWORD';