Today, the test environment need to use mysql database; so I use yum install way to quickly deploy a mariadb. The system used is Linux versions CentOS 7.x. After installation, I naturally using the mysql command the landing, because the environment is just the initial installation, the results being given:
1 [root@node ~]# mysql 2 ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)