Ubuntu18 重置MySQL8 root密码

问题 购买云服务器后,选择了带MySQL环境的镜像,查看日志知道初始密码是空,可是使用’mysql -u root --skip-password’ 没法登录数据库。 官方参考:2.10.4 Securing the Initial MySQL Accounthtml # 查看MySQL安装日志 root@VM-0-16-ubuntu:/data# head /var/log/mysql/erro
相关文章
相关标签/搜索