Create database and user mysql

#StandWithUkraine
Today, 25th June 2022, 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] ;

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