
数据库
22too
python我真的败给你了
展开
-
postgresql学习笔记
postgresql notebook psql是相当优秀的数据库之一,也号称是最先进的数据库,作为开源数据库是个很必要的学习东西。 在django框架中也是相当提倡使用postresql的,最近进行了一些学习,下面是学习时做的笔记。 运行环境在ubuntu12.04下 在命令行之下进入数据库环境: su postgres 输入密码 这个时候我们可以看到我们到了另外一个用户之下,这原创 2014-02-19 17:59:47 · 1369 阅读 · 0 评论 -
postgresql修改账户postgres密码
1.删除PostgreSQL用户密码 # sudo passwd -d postgres passwd: password expiry information changed. //passwd -d 是清空指定用户密码的意思 2.设置PostgreSQL用户密码 PostgreSQL数据默认会创建一个linu原创 2014-04-02 18:26:45 · 11297 阅读 · 3 评论 -
linux 源码安装出现createdb: could not connect to database template1: FATAL: role "postgres" does not exis
这个原因折腾了好久,最终在http://stackoverflow.com/questions/15591749/unable-to-create-user-postgres-role-postgres-does-not-exists 发现了yuan'yin原创 2014-10-12 09:12:38 · 9234 阅读 · 2 评论