node連接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后就能正常使用,但是還是覺得有點古怪,為啥遠程連接數據庫需要添加而且跟安全認證有關,連接本地數據庫并不需要添加這個選項。添加后是否跟安全有關系如果有添加后是更安全還是不安全是否跟數據庫版本有關如何具體解決多謝各位回答
添加回答
舉報
0/150
提交
取消