A. Backup Specification User MariaDB MySQL
1. capture user
select @@hostname,user,host from mysql.user where user like 'teguh%';
show grants for 'teguh'@'%';
show grants for 'teguh'@'localhost';
MariaDB [(none)]> select @@hostname,user,host from mysql.user where user like 'teguh%';
+------------+-------+-----------+
| @@hostname | User | Host |
+------------+-------+-----------+
| teguhth | teguh | % |
| teguhth | teguh | localhost |
+------------+-------+-----------+
2 rows in set (0.006 sec)