DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Generate Random Test Data in PostgreSQL
  • Implementing Sharding in PostgreSQL: A Comprehensive Guide
  • Database Connection Pooling at Scale: PgBouncer + Multi-Tenant Postgres (10K Concurrent Connections)
  • Scaling PostgreSQL Reads: Implementing Read-Your-Write Consistency Using WAL-Based Replica Routing

Trending

  • Microservices: Externalized Configuration
  • How to Parse Large XML Files in PHP Without Running Out of Memory
  • Spring AI Advisors: Chat Memory, Token Tracking, and Message Logging
  • LLM Integration in Enterprise Applications: A Practical Guide
  1. DZone
  2. Data Engineering
  3. Databases
  4. Install Multiple Versions of PostgreSQL on Mac

Install Multiple Versions of PostgreSQL on Mac

In this post, we are going to use DBngin, a free tool for database version management on Mac.

By 
Tung Thanh user avatar
Tung Thanh
·
Sep. 06, 18 · Tutorial
Likes (1)
Comment
Save
Tweet
Share
10.2K Views

Join the DZone community and get the full member experience.

Join For Free

To install PostgreSQL on Mac, the two most common ways are Docker and Homebrew service. But Docker might be too big and eat up a large portion of memory, or sometimes you feel clumsy configuring the local server using the command line. On the other hand, it's really hard to install and manage multiple versions of PostgreSQL on your computer.

In this post, we are going to use DBngin, a free tool for database version management on Mac. It allows you to set up a local PostgreSQL server of any versions within a click.

  1. First, go to DBngin, and download and install the app on your Mac.

  2. Open DBngin and click on + New Server button.

  3. Choose PostgreSQL from the drivers' list; choose the PostgreSQL version and name your server to create a new server. You can edit the server and change the port later on.

Create a new local PostgreSQL server

Now you already have a local PostgreSQL server running on your computer.

With DBngin, you can install and manage multiple servers of not only PostgreSQL but MySQL, Redis. You can turn on and off any database server by just a click. Turn it on when you need and just quit when you're done. No dependencies.

Manage multiple servers

Thank you for viewing this quick tutorial on how to install PostgreSQL on your Mac using DBngin. Let me know your thoughts or any questions you might have regarding this tutorial in the comments section. Have a great day!

PostgreSQL

Opinions expressed by DZone contributors are their own.

Related

  • Generate Random Test Data in PostgreSQL
  • Implementing Sharding in PostgreSQL: A Comprehensive Guide
  • Database Connection Pooling at Scale: PgBouncer + Multi-Tenant Postgres (10K Concurrent Connections)
  • Scaling PostgreSQL Reads: Implementing Read-Your-Write Consistency Using WAL-Based Replica Routing

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook