这是我遇到的问题 然后就想这可能是mysql安全模式的问题,解决思路:首先改变mysql的安全模式及密码校验问题,jinrumysql后在更改用户名密码. 1.首先将my.ini中加入在[mysqld]节点上加skip-grant-tables 也可能是my.cnf主要作用是:跳过表中的验证,可以无密码登陆. 2.登录之后查询plugin字段值: mysql> select plugin from user where user = 'root'; 执行结果plugin字段如下. 3.更新plu…
B.5.3.2 How to Reset the Root Password If you have never assigned a root password for MySQL, the server does not require a password at all for connecting as root. However, this is insecure. For instructions on assigning passwords, see Section 2.18.4,…