A. Management User
1. Loging Using root
create database teguht;
create user 'teguh' identified by 'triharto';
grant all privileges on teguht.* to 'teguh'@'%' identified by 'triharto' with grant option;
FLUSH PRIVILEGES;
c:\Program Files\MariaDB 10.1\bin>mysql -u root -p
Enter password: ****
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 2752
Server version: 10.1.14-MariaDB mariadb.org binary distribution
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database teguht;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> create user 'teguh' identified by 'triharto';