mysql输入命令后没响应

平台:win7 中安装了mysql 5.6.17,参考链接https://blog.csdn.net/qq_36625195/article/details/80892856,https://www.cnblogs.com/wuchanming/p/5155784.html,https://www.cnblogs.com/wuchanming/p/5155784.html,https://jingyan.baidu.com/article/f3ad7d0ffc061a09c3345bf0.html,https://jingyan.baidu.com/article/597035521d5de28fc00740e6.html,https://www.cnblogs.com/cyrfr/p/6483529.html

问题:mysql服务启动后,按上述链接中步骤,输入命令没反应,输入update user set password=PASSWORD('123456') where user='root'没响应,如下图:

 原因:输入\h后获取帮助,发现要加入\g才能表示将命令发送给mysql服务器

办法1:在命令输入完后,输入\g完事

 办法2:在命令后面跟上\g,如下图

扫描二维码关注公众号,回复: 9163606 查看本文章

猜你喜欢

转载自www.cnblogs.com/alesvel/p/12310717.html