安装mysql8之后没有办法登录,初始密码是多少?
初始密码在 /etc/mysql/debian.cnf
修改root帐号
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';