2020
09-29
09-29
mysql迁移至8.0时的注意事项(小结)
密码模式PDO::__construct():Theserverrequestedauthenticationmethodunknowntotheclient[caching_sha2_password]mysql8之后,默认的密码模式改为caching_sha2_password,新的模式需要新的驱动,至少现在pdo/navicat还没给出,所以我们还是得切换成老的mysql_native_password模式。`mysql_native_password`:7.0以下`caching_sha2_password`:8.0以上1、my.cnf配置默认的密码模式[mysqld]default_authenticat...
继续阅读 >