• 请不要在回答技术问题时复制粘贴 AI 生成的内容
laravel
V2EX  ›  程序员

postgresql 有木有 mysql 一样的命令行客户端

  •  
  •   laravel · Oct 25, 2019 · 4299 views
    This topic created in 2578 days ago, the information mentioned may be changed or developed.

    brew install postgresql 就只有服务端吗?

    15 replies  •  2019-10-28 10:46:03 +08:00
    guokeke
    guokeke
    Oct 25, 2019
    3
    推荐 mycli, pgcli, 非常好用。
    laravel
    laravel
    OP
    Oct 25, 2019
    4
    没有官方的吗?有选择困难症
    neoblackcap
    neoblackcap
    Oct 25, 2019
    5
    psql
    youxiachai
    youxiachai
    Oct 25, 2019
    6
    @laravel 2 楼那个不就是官方的吗?
    Takamine
    Takamine
    Oct 25, 2019 via Android
    7
    切换到 postgres 用户,然后 psql 进去的不是吗。
    然后就用\du,\q 这样。
    ankazen
    ankazen
    Oct 25, 2019
    8
    1、pgcli
    2、pgweb http://sosedoff.github.io/pgweb/ 简单查看非常好
    3、官方的 pgadmin,比较重
    way2create
    way2create
    Oct 25, 2019
    9
    命令行只用过 psql
    cstj0505
    cstj0505
    Oct 25, 2019
    10
    psql 不好用吗
    sidegem
    sidegem
    Oct 25, 2019
    11
    brew install postgresql 装完 psql 也有了,一般创建或删除数据库用一下 psql,其它 gui 客户端创建数据库会提示权限不足
    yuikns
    yuikns
    Oct 25, 2019❤️1
    12
    https://stackoverflow.com/questions/44654216/correct-way-to-install-psql-without-full-postgres-on-macos

    这个问题很久前就有人问过。如果只要客户端,那么

    brew install libpq

    就行
    linvaux
    linvaux
    Oct 25, 2019
    13
    习惯用 navicat,cli 的真没注意过
    skypyb
    skypyb
    Oct 26, 2019 via Android
    14
    idea 的数据库工具..
    laravel
    laravel
    OP
    Oct 28, 2019
    15
    我上次搞错了,我是安装的 postgresql 12 所以没有客户端 brew install 的带了客户端
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   973 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 22:50 · PVG 06:50 · LAX 14:50 · JFK 17:50
    ♥ Do have faith in what you're doing.