Here is the command to connect to postgresql through console,
> sudo -u postgres psql
The above command will connect to psql.
> sudo -u postgres psql
psql (9.1.9)
Type "help" for help.
postgres=#
Now you can run all the sql queries through this interface.
Thank You,
Uma Mahesh.
No comments:
Post a Comment