摘要:
1.登录mysql mysql -u root -p 2.执行use mysql; use mysql; 3.修改host update user set host = '%' where user = 'root'; 4.刷新权限 FLUSH PRIVILEGES; 5.测试连接 阅读全文
posted @ 2020-12-17 16:48
PengXingQiang
阅读(248)
评论(0)
推荐(1)
摘要:
1.Mysql 官网下载 RPM 包 wget https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm 2.如果安装过mysql强力卸载,没安装过忽略 for i in $(rpm -qa|grep mysql);do 阅读全文
posted @ 2020-12-17 16:42
PengXingQiang
阅读(968)
评论(0)
推荐(1)
摘要:
1.找到postgresql 安装目录data文件夹 2.编辑修改文件 pg_hba.conf,将 scram-sha-256 替换成trust 3.重启数据库,登录(不输入密码直接进入),执行修改用户密码的操作 alter user postgres with password 'postgres 阅读全文
posted @ 2020-12-17 00:40
PengXingQiang
阅读(1418)
评论(0)
推荐(0)
摘要:
登录 postgresql 官网页面 https://www.postgresql.org/ 2.下载安装包 sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-red 阅读全文
posted @ 2020-12-17 00:28
PengXingQiang
阅读(3998)
评论(0)
推荐(0)

浙公网安备 33010602011771号