linux安装mysql的默认密码

184 阅读1分钟
  1. 如何是mysql5.6之前,就默认为空:

  2. 5.6之后是由系统生成的,可以使用:grep "password" /var/log/mysqld.log
    得到日志: