极湖

无不用其“极”

简明 PostgreSQL 建库步骤

, ,

1.切换至 PostgreSQL 超级用户
$ su - postgres

2.初始化数据库 (仅在数据库未初始化时需要此步骤)
$ initdb --no-locale --encoding=EUC_JP

3.创建用户和数据库
$ createuser -d -P user1
$ createdb -U user1 -O user1 userdb1


4.数据库连接测试
$ psql -U user1 -W userdb1

用 Apache Bench 进行网站性能测试不选 Zend, 也不选 Symfony,而选 CakePHP 的10个理由

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

February 2012
S M T W T F S
January 2012March 2012
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29