Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
MySQL Privileges
CREATE DATABASE `db`;
GRANT ALL PRIVILEGES ON `db`.* TO `user`@`localhost` IDENTIFIED BY `password` WITH GRANT OPTION; FLUSH PRIVILEGES;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment