无法通过旧的secure_auth连接到MySQL

时间:2014-01-16 16:38:58

标签: python mysql-python

我正在尝试使用“MySQLdb.connect”与Python在共享主机上建立外部连接但我收到错误:

Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled).

可以为此做出解决方案。

1 个答案:

答案 0 :(得分:1)

您的选择

  1. 连接到服务器> = 4.1.1已启用secure_auth或
  2. 等待(或应用)错误修复http://bugs.mysql.com/bug.php?id=75425
  3. 尝试https://rt.cpan.org/Ticket/Display.html?id=100831
  4. 中讨论的其中一种解决方法
相关问题