[root@kvm3 ~]# mycli -S /var/lib/mysql/mysql.sock -uroot -pqweqwe mariadb 10.3.11-MariaDB mycli 1.20.1 Chat: https://gitter.im/dbcli/mycli Mail: https://groups.google.com/forum/#!forum/mycli-users Home: http://mycli.net Thanks to the contributor - Casper Langemeijer mariadb root@localhost:(none)>
mariadb root@localhost:(none)> grant select,insert,update on *.* to 'hosttest'@' 192.168.122.1' identified by '123qwe'; Query OK, 0 rows affected Time: 0.002s
mariadb root@localhost:(none)> flush privileges; Query OK, 0 rows affected Time: 0.001s
mariadb root@localhost:(none)> quit; Goodbye!