Wednesday, 23 May 2018

Django: Delete Postgres database in Ubuntu

Run the following commands to go into Postgres command line:

sudo su postgres
psql

Now the database can be dropped by using the following command:

drop database database_name;

No comments:

Post a Comment