Random Stuff
Random notes and thoughts that may or may not be of use to someone.
Showing posts with label
mysql
.
Show all posts
Showing posts with label
mysql
.
Show all posts
Thursday, January 08, 2015
MySQL - create database and user quickly
I'm not a MySQL fan. I don't use it enough to remember some basic things.
mysql> create database mydb;
mysql> create user 'myuser'@'localhost' IDENTIFIED BY '*******';
mysql> grant all privileges on mydb.* to 'myuser'@'localhost';
Older Posts
Home
Subscribe to:
Posts (Atom)