[root@kvm3 ~]# mariadb -uhosttest -p123qwe ERROR 1045 (28000): Access denied for user 'hosttest'@'localhost' (using password: YES)
[dywang@deyu ~]# sudo dnf install mariadb
[dywang@deyu ~]$ mariadb -h kvm3 -uhosttest -p123qwe Your MariaDB connection id is 28 Server version: 10.11.11-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. MariaDB [(none)]> quit Bye
[dywang@deyu ~]$ mariadb -h kvm3 -uroot -p123qwe ERROR 1045 (28000): Access denied for user 'root'@'deyu.wang' (using password: YES)