需要远程连接root
django连接出现
Access denied for user 'root'@'localhost' 错误
手动cmd连接出现错误:
Authentication plugin 'caching_sha2_password' cannot be loaded:
解决办法:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
django连接出现
Access denied for user 'root'@'localhost' 错误
手动cmd连接出现错误:
Authentication plugin 'caching_sha2_password' cannot be loaded:
解决办法:
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';