peibaishi 发表于 2015-4-18 09:47:21

安装在CloudStack时CentOS6.4中安装MySQL通过mysql_secure_installation方式修改密码

  在安装CloudStack时,通过mysql_secure_installation方式修改密码

01 # /usr/bin/mysql_secure_installation
02 NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
03       SERVERS IN PRODUCTION USE!PLEASE READ EACH STEP CAREFULLY!
04   
05 In order to log into MySQL to secure it, we'll need the current
06 password for the root user.If you've just installed MySQL, and
07 you haven't set the root password yet, the password will be blank,
08 so you should just press enter here.
09   
10 Enter current password for root (enter for none):
页: [1]
查看完整版本: 安装在CloudStack时CentOS6.4中安装MySQL通过mysql_secure_installation方式修改密码