ode连接mysql数据库报错
MySQL server is requesting the old and insecure pre-4.1 auth mechanism. Upgrade the user password or use the {insecureAuth: true} option.
已经查到资料在连接池中添加 insecureAuth: true后就能正常使用,但是还是觉得有点古怪,这段代码到底是干什么的呢?
想问下:
添加后是否跟安全有关系
如果有添加后是更安全还是不安全
是否跟数据库版本有关
相似问题