入门客AI创业平台(我带你入门,你带我飞行)
博文笔记

Python连接mysql提示old (insecure) passwords is not supported

创建时间:2013-08-06 投稿人: 浏览次数:3052
Authentication with old (insecure) passwords is not supported. For more information, lookup Password Hashing in the latest MySQL manual


如上所示,如果一旦出现这个问题,主要是因为客户端用了新的密码版本,而服务器却使用了老的密码版本,需要设置一下服务器的密码:

  SET old_passwords=FALSE;
  SET PASSWORD = PASSWORD("hello123");

现在连接就不会出问题了。
声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
  • 上一篇:没有了
  • 下一篇:没有了
未上传头像