使用客户端:
比如在mac系统中使用MySQLWorkbench登录4.1的版本时候,需要在设置-高级中选中use the old authentication protocol
注意设置后就能正常登录
使用终端cmd命令:
mysql -h ip -P port -u root --secure_auth=off -p
增加参数--secure_auth=off 可以关闭认证
使用客户端:
比如在mac系统中使用MySQLWorkbench登录4.1的版本时候,需要在设置-高级中选中use the old authentication protocol
注意设置后就能正常登录
使用终端cmd命令:
mysql -h ip -P port -u root --secure_auth=off -p
增加参数--secure_auth=off 可以关闭认证