PostgreSQL: Show tables in PostgreSQL

后端 未结 24 2592
醉梦人生
醉梦人生 2020-11-28 16:58

What\'s the equivalent to show tables (from MySQL) in PostgreSQL?

24条回答
  •  执笔经年
    2020-11-28 17:35

    First you can connect with your postgres database using the postgre.app on mac or using postico. Run the following command:

    psql -h localhost -p port_number -d database_name -U user_name -W
    

    then you enter your password, this should give access to your database

提交回复
热议问题