1045 – Access denied for user root @localhost(using password:yes)
windows下如果出现1045 – Access denied for user root @localhost(using password:yes)错误可根据一下方法解决:
找到MySQL在windows下的安装目录,复制my.ini在文件[mysqld]后加入skip_grant_tables
复制修改的my.ini文件粘贴到MySQL安装目录替换原my.ini即可
重启MySQL服务