随笔分类 - MySQL
摘要:问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) ERROR 1698 (28000): Access denied for user 'root'@'localhost' 解决方案: 出现这个原因是mysql8.0 之前的版本中加密规则是
阅读全文
摘要:问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) 解决方案: 帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑登入MySQL后,更改"MySQL"数据库"user"表里的"host"项,将"loca
阅读全文
摘要:问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) 解决方案: MySQL 8.0 之前的版本中加密规则是mysql_native_password,MySQL 8.0 之后,加密规则是caching_sha2_password 修改加密规则
阅读全文
摘要:问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) 解决方案: root@tencent:~# sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf 注释掉:bind-addredd 重启MySQL服务问题解决
阅读全文
摘要:问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) root@tencent:~# mysqlERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passw
阅读全文