Once you secure MySQL you should be sure to always follow a simple rule: Create a new account for every database you deploy. It’s a bit annoying to remember this command and I always come back to it.
Create a username in MySQL and assign a password:
GRANT ALL PRIVILEGES ON DATABASE.* To 'USERNAME'@'localhost' IDENTIFIED BY 'PASSWORD';
Obviously change DATABASE, USERNAME, and PASSWORD to suit your install.