![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
postgresql
tingyuanss
这个作者很懒,什么都没留下…
展开
-
ubuntu 下postgresql入门
安装好postgresql后,在终端里操作:1.切换到postgresql默认用户(不切换的话无法执行psql)sudo su - postgre2.进入postgre命令模式psql3.在命令模式下创建数据库用户create user dbuser with password '123456'; (分号不要漏了,否则无法执行成功,在psql命令行模式下的命令都需要分号结束原创 2015-04-22 16:51:14 · 2416 阅读 · 0 评论 -
pgadmin3 新建服务器出现错误 Peer authentication failed for user "postgres" 的解决办法
用pgadmin3 新建服务器出现错误 Peer authentication failed for user "postgres" 在stackoverflow上找到答案,出现此错误的原因是:Peer authentication 是默认的配置,如果你的计算机用户名和你的postgres数据库名是一样的话,那么就不会出现此错误,不需要为你的数据库设置密码。还有一种md5 au原创 2015-02-12 16:23:28 · 23213 阅读 · 0 评论