添加密码
出现报错
MySQL error 1042: Unable to connect to any of the specified MySQL hosts. Failed to connect to MySQL Server 8.0.23 after 10 attempts. Ended configuration step: Starting the server
使用Win+R --> 运行 “services.msc” --> 打开service服务管理器,找到刚才安装mysql的服务名称
密码输入刚刚维护的密码