zoukankan      html  css  js  c++  java
  • PG

    PostgreSQL Windows 安装

    • 准备好安装包postgresql-11.5-1-windows-x64-binaries.zip
    • 默认情况下,会将当前的 Windows 用户作为管理员,例如“Chris”
    • 注意在初始化连接之后,在防火墙中开放5432端口。

    安装

    解压到E盘根目录中

    E:>bininitdb.exe -D data -E UTF8
    The files belonging to this database system will be owned by user "Chris".
    This user must also own the server process.

    The database cluster will be initialized with locale "English_United States.1252".
    The default text search configuration will be set to "english".

    Data page checksums are disabled.

    fixing permissions on existing directory data ... ok
    creating subdirectories ... ok
    selecting default max_connections ... 100
    selecting default shared_buffers ... 128MB
    selecting default timezone ... Asia/Hong_Kong
    selecting dynamic shared memory implementation ... windows
    creating configuration files ... ok
    running bootstrap script ... ok
    performing post-bootstrap initialization ... ok
    syncing data to disk ... ok

    WARNING: enabling "trust" authentication for local connections
    You can change this by editing pg_hba.conf or using the option -A, or
    --auth-local and --auth-host, the next time you run initdb.

    Success. You can now start the database server using:

    binpg_ctl -D data -l logfile.txt start

    E:>binpsql postgres

  • 相关阅读:
    python base64加密文本内容(1)
    python 翻译爬虫
    json为txt文本加密
    python json
    repr()函数
    linux 基本命令
    测试管理工具--禅道
    测试基础理论
    测试用例--场景法
    测试用例--测试大纲(提纲)法
  • 原文地址:https://www.cnblogs.com/duchaoqun/p/12874336.html
Copyright © 2011-2022 走看看