create database embsky default character set utf8 collate utf8_general_ci
[root@embsky ~]# mysql -uroot -p MariaDB [mysql] > use mysql MariaDB [mysql] > GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '123456' ; MariaDB [mysql] > flush privileges;