丶Terminator

导航

2013年9月6日 #

step by step设置postgresql用户密码并配置远程连接

摘要: 设置pgsql默认用户posgres的密码1、确认pgsql是开启的/etc/init.d/postgresql status2、使用默认用户登录 sudo su postgres3、进入psql客户端 命令为 sudo -u postgres psql 进入之后就可以写sql了4、执行第三步如果出现“postgres is not in the sudoers file. This incident will be reported.”提示则需要在sudoers里面加上postgres,步骤如下:1) 输入命令 su - 进入超级用户模式(如果当前不是root用户,则进行root身份验证); 阅读全文

posted @ 2013-09-06 18:02 夜蹲寡妇门 阅读(2168) 评论(0) 推荐(0) 编辑