Mariadb使用root账户登陆数据库创建用户,并赋予用户特定数据库权限和远程登陆权限
一、使用root账号登陆mariadb数据库
[root@bigdata1 ~]# mysql -uroot -pAaaaBbbb123
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 81624
Server version: 5.5.68-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
</