Create database and user mysql

$ mysql -u root -p
> create database _db_ CHARACTER SET utf8;
> grant usage on *.* to [email protected] identified by '_dbpass_';
> grant all privileges on _db_.* to [email protected] ;

Replace

Or consider CLI tool:

mysqladmin create _db_
#mysql
0
Ivan Borshchov profile picture
Nov 06, 2016
by Ivan Borshchov
Did it help you?
Yes !
No

Best related