Your MysqL connection id is 1 Server version: 5.6.50-log Source distribution copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved. Oracle is a registered Trademark of Oracle Corporation and/or its affiliates. Other names may be Trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MysqL> use MysqL; Database changed MysqL> UPDATE MysqL.user SET Password=PASSWORD('123456') WHERE User='root'; Query OK, 4 rows affected (0.00 sec) Rows matched: 4 Changed: 4 Warnings: 0 MysqL> FLUSH PRIVILEGES -> ; Query OK, 0 rows affected (0.00 sec) MysqL> exit Bye
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。