解决error1045:Accessdeniedforuser:'root@lo_MySQL
来源:懂视网
责编:小采
时间:2020-11-09 19:30:05
解决error1045:Accessdeniedforuser:'root@lo_MySQL
解决error1045:Accessdeniedforuser:'root@lo_MySQL: 转载连接:http://jianfw2009.blog.163.com/blog/static/13431366020111016112459158/1、先停止mysql服务2、在mysql的目录下找到my.ini,在[mysqld]后面加上skip-grant-tables3、启动mysql服务,打开Command Line Cl
导读解决error1045:Accessdeniedforuser:'root@lo_MySQL: 转载连接:http://jianfw2009.blog.163.com/blog/static/13431366020111016112459158/1、先停止mysql服务2、在mysql的目录下找到my.ini,在[mysqld]后面加上skip-grant-tables3、启动mysql服务,打开Command Line Cl

转载连接:http://jianfw2009.blog.163.com/blog/static/13431366020111016112459158/
1、先停止mysql服务2、在mysql的目录下找到my.ini,在[mysqld]后面加上skip-grant-tables3、启动mysql服务,打开Command Line Client以空密码登录4、退出mysql,并停止服务5、把my.ini中添加的:skip-grant-tables 去掉5、再次开启mysql服务,直接回车登录,输入:set password for root@localhost=password('newpwd');6、退出重新配置,大功告成!
解决error1045:Accessdeniedforuser:'root@lo_MySQL
解决error1045:Accessdeniedforuser:'root@lo_MySQL: 转载连接:http://jianfw2009.blog.163.com/blog/static/13431366020111016112459158/1、先停止mysql服务2、在mysql的目录下找到my.ini,在[mysqld]后面加上skip-grant-tables3、启动mysql服务,打开Command Line Cl