fat32下安裝PG

 安裝完畢後,設置 PGHOME=F:PostgreSQL8.0,然後進入Dos,輸入 runas /user:postgres "cmd" 切換用戶,轉到postgresql的 bin 目錄,輸入
initdb --no-locale -D "F:\PostgreSQL\8.0\data" -L "F:\PostgreSQL\8.0\share"

如果成功,顯示

Success. You can now start the database server using:
    ""postmaster -D "F:/PostgreSQL/8.0/data"
or
    ""pg_ctl -D "F:/PostgreSQL/8.0/data" -l logfile start

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章