摘要:
登录控制台 root@kali:~# sudo -u postgres psql psql (10.5 (Debian 10.5-1)) Type "help" for help. postgres=# 其他用户登陆命令 psql -U 用户名 -d 数据库名 -h 链接地址 -p 端口 设置pos 阅读全文
posted @ 2023-12-29 15:15
村尚chun叔
阅读(101)
评论(0)
推荐(0)
摘要:
#!/bin/bash source /etc/profile # 定义host、账号、密码,需要自定义 pg_host='172.3.2.7' pg_user='postgres' export PGPASSWORD=123456 pg_port='5432' # 定义备份目录、备份库、文件格式, 阅读全文
posted @ 2023-12-29 14:08
村尚chun叔
阅读(173)
评论(0)
推荐(0)

浙公网安备 33010602011771号