psql- 致命错误 角色 highggo 不存在
来源:互联网 发布:视频模糊修复软件 编辑:程序博客网 时间:2024/05/29 17:59
[highgo@db2 data]$ psql -p 5866
psql: 致命错误: 角色 "highggo" 不存在
[highgo@db2 data]$ cd
[highgo@db2 ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
export HG_HOME=/hg/hgdb/3.1.4
export PGUSER=highggo 《---此处为人为配置错误导致
export PGPORT=5866
export PGDATA=$HG_HOME/data
export PGPOOL=/hg/cluster/pgpool/3.6.4
export PATH=$HG_HOME/bin:$PGPOOL/bin:$PATH:$HOME/bin
export LD_LIBRARY_PATH=$HG_HOME/lib:$PGPOOL/lib:$LD_LIBRARY_PATH
[highgo@db2 ~]$
更改后:
[highgo@db2 ~]$ echo $PGUSER
highgo
[highgo@db2 ~]$ source .bash_profile
[highgo@db2 ~]$ psql -p 5866
psql (3.1.4)
Type "help" for help.
highgo=# \q
psql: 致命错误: 角色 "highggo" 不存在
[highgo@db2 data]$ cd
[highgo@db2 ~]$ cat .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export PATH
export HG_HOME=/hg/hgdb/3.1.4
export PGUSER=highggo 《---此处为人为配置错误导致
export PGPORT=5866
export PGDATA=$HG_HOME/data
export PGPOOL=/hg/cluster/pgpool/3.6.4
export PATH=$HG_HOME/bin:$PGPOOL/bin:$PATH:$HOME/bin
export LD_LIBRARY_PATH=$HG_HOME/lib:$PGPOOL/lib:$LD_LIBRARY_PATH
[highgo@db2 ~]$
更改后:
[highgo@db2 ~]$ echo $PGUSER
highgo
[highgo@db2 ~]$ source .bash_profile
[highgo@db2 ~]$ psql -p 5866
psql (3.1.4)
Type "help" for help.
highgo=# \q
阅读全文
0 0
- psql- 致命错误 角色 highggo 不存在
- psql- 致命错误 角色 highggo 不存在
- psql- 致命错误 角色 highggo 不存在
- psql: 致命错误: 用户 "postgres" Ident 认证失败
- rails连接postgresql错误:psql: 致命错误: 用户 "postgres" Ident 认证失败
- centos7.2 postgresql 9.2 用户名登录 ‘psql: 致命错误: 用户 "postgres" Ident 认证失败’
- 致命错误!
- 什么是致命异常错误
- 一个致命的错误
- register_shutdown_function捕获致命错误
- ormlite 出现致命错误
- VC++编译器致命错误C1001
- 疯狂的程序员 - 致命错误
- 致命错误LNK1168的解决方法
- 领导者的五个致命错误
- Ant学习 之 [致命错误]
- 比较致命的两个错误
- oracle中解决角色PLUSTRACE不存在
- 利用hydra(九头蛇)暴力破解内网windows登录密码
- memery leak Exception
- 合并果子 noip2004
- 《C#图解教程》第2章 C#编程概述 读书笔记
- next-permutation
- psql- 致命错误 角色 highggo 不存在
- JavaScript必须熟悉知道的基础整理(一)
- bzoj 1653: [Usaco2006 Feb]Backward Digit Sums(全排列)
- 数据类型与运算符
- 二叉查找树简单实现
- 简单实现部分HTML表单校验功能
- 循环语句&条件语句
- 第二章 Oralce 11g 体系结构
- J2EE Web核心技术课后答案