mysql迁移至8.0时的注意事项(小结)
密码模式 PDO::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] mysql8 之后,默认的密码模式改为 caching_sha2_password,新的模式需要新的驱动,至少现在 pdo / navicat 还没给出,所以我们还是得切换成老的 mysql_native_password 模式。 `mysql_native_password`:7.0 以下 `caching_sha2_password`:8.0 以上 1、my.
下载地址
用户评论