
SQL
二儿娃
这个作者很懒,什么都没留下…
展开
-
远程访问postgresql数据库
1: ssh 登录远程的PostgreSQL database server:ssh username@ipaddress2: Enable client authentication:编辑 /etc/postgresql/9.1/main目录下的文件:postgresql.conf:将 listen_addresses= 'localhost' 换成 list原创 2013-11-18 22:59:12 · 1379 阅读 · 0 评论 -
PgAdmin3访问远程server database
如图所示,单击左上角的类似电源插头的按钮,出现上层的对话框,如图填写信息,添加远程server的数据库。原创 2013-11-18 23:24:57 · 1866 阅读 · 0 评论 -
PostgreSQL 快速入门 (一)
PostgreSQL安装你可以使用命令行安装PostgreSQL,输入:sudo apt-get install postgresqlpgAdmin III 是一个方便的PostgreSQL图形客户端,它很适合初学者,可以在终端下输入如下命令来安装:sudo apt-get install pgadmin3启动sudo /etc/init.d/postgresq转载 2013-11-17 14:18:54 · 860 阅读 · 0 评论 -
PSQL快速入门(二)
1. 数据库的读取用户必须和建立用户是用一个,才能够正常检索到数据.2. PSQL是可以通过large objects的方式存储大数据在表中. (相关介绍如下:)http://michael.otacoo.com/postgresql-2/playing-with-large-objects-in-postgres/其中, large objects是原始数据, table原创 2013-11-19 20:11:46 · 824 阅读 · 0 评论 -
postgresql
build a database$ createdb namecreate a table in the "name" database$ psql -f ~/db/createdummy.sql -d namethen we have a accuracy database.we will extract data in a bag file to the原创 2013-11-10 00:15:56 · 1647 阅读 · 0 评论 -
sql查询语句select 应用举例
数据表的查询(select) select 字段列表 [as 别名], * from 数据表名 [where 条件语句] [group by 分组字段] [order by 排序字段列表 desc] [LIMIT startrow,rownumber] 1、Select 字段列表 From 数据表 例:①、select id,gsmc,add,tel fr转载 2013-11-29 11:51:55 · 1057 阅读 · 0 评论 -
python3-postgresql
import pg (postgres) in python codes, you need to install 'python3-postgresql'or search it as follows:$ sudo apt-cache search python3-postgresql原创 2013-11-18 21:34:53 · 2201 阅读 · 0 评论 -
Postgresql 学习笔记 (还在对postgresql迷茫的xdjm有福啦~~)
1. In a terminal:$ psql2. Get into a postgresql with role "postgres", then create a user "db"postgres-# create role dbcreator with password 'nifti';3.search commands:postgres-# \?4.the原创 2013-12-21 21:43:18 · 640 阅读 · 0 评论 -
Try to use "twisted.enterprise.adbapi" accessing database nonblockingly in Twisted (failed)
Download and Install pyPgSQL原创 2014-04-07 11:11:23 · 792 阅读 · 0 评论