psql- 致命错误 角色 highggo 不存在
来源:互联网 发布:memcached php 编辑:程序博客网 时间:2024/06/06 14:15
[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不存在
- noi2015 day1 T2软件包管理器
- 前端Js框架汇总
- 浅谈如何提高项目软件品质
- 360 video【待整理】
- Google chrome浏览器打不开网页,显示ERR_Failed...等问题的解决方法
- psql- 致命错误 角色 highggo 不存在
- 基于flask实现的简单博客
- 当pgpool两节点状态均显示standby时的解决方法1
- python数据分析复盘——数据分析相关库之Numpy
- 个人笔记9-12
- pyhon爬虫学习日记1_urllib-mac系统
- 关于pgpool的注意事项
- for循环和if选择结构
- 数据结构之算法时间复杂度