Create a MySQL user and grant permissions

CREATE USER 'someUser'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON someDatabase.* TO 'someUser'@'localhost';
FLUSH PRIVILEGES;