用Navicat premium连接MySQL数据库没问题
这是我在eclipse中写的
``
import MySQLdb
MySQLdb.connect(host='127.0.0.1', user="root", passwd="****", db="index", charset="utf8")
下面控制台报错显示:
_mysql_exceptions.OperationalError: (1251, 'Client does not support authentication protocol requested by server; consider upgrading MySQL client')
不懂 客户端为什么不支持服务器请求的身份验证协议;让我升级mysql客户端