摘要: 一、通过命令设置:tzselect 二、按提示选择相应的时区 三、复制时间文件:cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 四、查看时间时区:date -R root@vm:/etc# tzselect Please identify a 阅读全文
posted @ 2021-01-06 11:43 xzming8 阅读(1293) 评论(0) 推荐(0)
摘要: 问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) ERROR 1698 (28000): Access denied for user 'root'@'localhost' 解决方案: 出现这个原因是mysql8.0 之前的版本中加密规则是 阅读全文
posted @ 2020-12-10 18:56 xzming8 阅读(661) 评论(0) 推荐(0)
摘要: 问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) 解决方案: 帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑登入MySQL后,更改"MySQL"数据库"user"表里的"host"项,将"loca 阅读全文
posted @ 2020-12-10 18:32 xzming8 阅读(93) 评论(0) 推荐(0)
摘要: 问题现象: 解决办法:删除对应的ppa文件,删除命令如下 root@xianming:~# sudo add-apt-repository --remove ppa:/qameta/allure/ 阅读全文
posted @ 2020-12-07 19:44 xzming8 阅读(1329) 评论(0) 推荐(0)
摘要: 1、系统信息 Ubuntu 20.04.1 LTS ZenTaoPMS_12.4.2_1_all.deb(官方下载:https://www.zentao.net/download/zentaopms12.4.2-80263.html) MySQL:8.0.21-0ubuntu0.20.04.4 (U 阅读全文
posted @ 2020-09-25 18:25 xzming8 阅读(634) 评论(0) 推荐(0)
摘要: 问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) 解决方案: MySQL 8.0 之前的版本中加密规则是mysql_native_password,MySQL 8.0 之后,加密规则是caching_sha2_password 修改加密规则 阅读全文
posted @ 2020-09-25 13:56 xzming8 阅读(642) 评论(0) 推荐(1)
摘要: 问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) 解决方案: root@tencent:~# sudo vi /etc/mysql/mysql.conf.d/mysqld.cnf 注释掉:bind-addredd 重启MySQL服务问题解决 阅读全文
posted @ 2020-09-25 13:51 xzming8 阅读(212) 评论(0) 推荐(0)
摘要: 问题描述: Server version: 8.0.21-0ubuntu0.20.04.4 (Ubuntu) root@tencent:~# mysqlERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passw 阅读全文
posted @ 2020-09-25 12:56 xzming8 阅读(213) 评论(0) 推荐(0)
摘要: 一、修改root用户名密码 ubuntu@VM-0-11-ubuntu:~$ sudo passwd rootNew password: Retype new password: passwd: password updated successfullyubuntu@VM-0-11-ubuntu:~ 阅读全文
posted @ 2020-09-23 16:21 xzming8 阅读(908) 评论(0) 推荐(0)
摘要: root@VM-0-11-ubuntu:~# vi /etc/cloud/cloud.cfg root@VM-0-11-ubuntu:~# hostnamectl set-hostname tencent.ubuntu.com 重启后生效: 阅读全文
posted @ 2020-09-23 15:24 xzming8 阅读(1355) 评论(0) 推荐(0)