CREATE DATABASE database_name;
CREATE USER 'who'@'localhost' IDENTIFIED BY 'password';
GRANT ALL ON database_name.* TO 'who'@'localhost';
Now this is really basic stuff and I realize it, but the point is that I hate looking it up. The sad thing is that after writing this blog post I'll probably never forget it.
No comments:
Post a Comment