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
_db_
- database name_dbusr_
- db username_dbpass_
- db password
Or consider CLI tool:
mysqladmin create _db_