'psql Not Showing Tables Even Though pgAdmin Shows Them
I am running a postgres instance on a VM which is on a "host" computer.
I have created tables and they are visible on the pgAdmin tool when connected remotely from the host computer to the VM (as you can see there are 8 tables listed in the gui), however when I try to show the tables when logging in from the VM with psql (psql -U myapp -h localhost and then \dt) I don't see them! Please help!
postgres@postgresql:~$ psql -U myapp Password for user myapp: psql (9.4.5) Type "help" for help. myapp=> myapp=> \dt No relations found.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|