Create database and user mysql

Today, 27th January 2023, Ukraine is still bravely fighting for democratic values, human rights and peace in whole world. Russians ruthlessly kill all civilians in Ukraine including childs and destroy their cities. We are uniting against Putinโ€™s invasion and violence, in support of the people in Ukraine. You can help by donating to Ukrainian's army.
$ 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] ;


Or consider CLI tool:

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

Best related