|  | 
 
 发表于 2021-7-17 20:45:05
|
显示全部楼层 
| 
 请你在cmd下测试  以下命令  看是否出现  什么授权错误  还是向我一样  出现 MYSQL>
 这里可以在本机测试 ,我估计和远程测试 结果应该一样
 C:\Users\Administrator>mysql -h 192.168.1.5 -u root -p      红色部分替换成你自己服务器的ip
 Enter password: ******
 Welcome to the MySQL monitor.  Commands end with ; or \g.
 Your MySQL connection id is 8
 Server version: 8.0.19 MySQL Community Server - GPL
 
 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>
 | 
 |