Installing PostgreSQL
PostgreSQL seems to be the most popular DBMS (database management system) with Django developers, although MySQL is also used a lot
To install PostgreSQL, I used Linux Mint’s Software Manager (search for “postgresql”)
I also installed pgAdmin III, “a database design and management application for use with PostgreSQL” using the same method
I used to work on a system which used PostgreSQL, but that is a long time ago, so I had to ask the Internet to remind me how to get it going. Here is how to get it started
- Using the Software Manager, install PostgreSQL and pgadmin3
- Set the PostgreSQL password, for the postgres user:
- sudo -u postgres psql
- postgres=# \password postgress
- (set the password)
- \q
- Start Programming -> pgAdmin III
- Click on “Server Groups”
- Click on the plug icon (top left hand corner)
- Name: Local DBMS (or whatever you want to call it)
- Host: localhost
- Port, Service, Maintenance DB: leave as is
- Username: postgres
- Password: the password you set in the step above
- Click on “Ok”
You should now be able to view your PostgreSQL server in pgAdmin, and use it to manage users, databases, etc