【发布时间】:2020-08-30 10:50:45
【问题描述】:
我在传递以下命令时收到以下错误,并且它不接受并收到本地主机错误。我也更新了 /etc/hosts 文件,不确定它在哪里。
[root@cloud /]# mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MariaDB to secure it, we'll need the current
password for the root user.
If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Enter current password for root (enter for none):
Aborting!
Cleaning up...
[root@cloud /]#
【问题讨论】:
标签: openstack