lua 连接MySQL mysql.cant_connect: ***consider upgrading MySQL client, errno:1251, sql_state:08004
解决方案(亲测)
在mysql里分别输入
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'
**password是root的password
flush privileges;
lua 连接MySQL mysql.cant_connect: ***consider upgrading MySQL client, errno:1251, sql_state:08004
解决方案(亲测)
在mysql里分别输入
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'
**password是root的password
flush privileges;