随笔分类 - postgresql
摘要:1、创建数据库 [postgres@database2019030517 ~]$ CREATE DATABASE database_name; 2、删除数据库 [postgres@database2019030517 ~]$ drop database database_name; 3、连接指定数据
阅读全文
摘要:1.下载源码安装包 wget https://ftp.postgresql.org/pub/source/v10.5/postgresql-10.5.tar.gz 2.创建pg的用户主、组 [root@test2019030517 postgresql-10.5]# useradd postgres
阅读全文
摘要:1、切换到指定数据库 \c axyh_360p_hunan_mobile_security_manage 2、回收权限 1 revoke connect on database axyh_360p_hunan_mobile_security_manage from public; 3、设置授权后的权
阅读全文