# Database connection error while trying to install Pega 8.6 Personal Edition

**URL:** <https://forums.pega.com/t/database-connection-error-while-trying-to-install-pega-8-6-personal-edition/1677>\
**Category:** General\
**Tags:** 8-6, installation-and-deployment\
**Created:** [August 30, 2021, 1:26pm UTC](https://forums.pega.com/t/database-connection-error-while-trying-to-install-pega-8-6-personal-edition/1677 "2021-08-30T13:26:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BhuppuY1](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@BhuppuY1](https://forums.pega.com/u/BhuppuY1)\
**Post date:** [August 30, 2021, 1:26pm UTC](https://forums.pega.com/t/database-connection-error-while-trying-to-install-pega-8-6-personal-edition/1677/1 "2021-08-30T13:26:14Z")

</div>

Targets:Initialization,Database Server Installation,Data Load,Configuration,PRPC Launching  
Buildfile: E:\PEGA\116984\_PE8.6.0.\pegaGuiInstallerTemp\build.xml

Initialization:  
[echo] Beginning installation of Pega Platform 8.6.0 Personal Edition – this process should take about 5-10 minutes …  
[mkdir] Created dir: E:\PRPCPersonalEdition  
[mkdir] Created dir: E:\PRPCPersonalEdition\temp  
[unzip] Expanding: E:\PEGA\116984\_PE8.6.0\pegaGuiInstallerTemp\PersonalEdition.zip into E:\PRPCPersonalEdition  
[echo] Configuring Tomcat (Setting Java Home and Catalina Home)…  
[replace] Replaced 0 occurrences in 0 files.  
[replace] Replaced 1 occurrences in 1 files.  
[replace] Replaced 2 occurrences in 1 files.  
[replace] Replaced 1 occurrences in 1 files.

Database Server Installation:  
[echo]  
[echo] Waiting for Postgres to start…  
Unable to connect to database – will retry in 1 second…  
Unable to connect to database – will retry in 1 second…  
Unable to connect to database – will retry in 1 second…  
Unable to connect to database – will retry in 1 second…  
Unable to connect to database – will retry in 1 second…

---

<div class="post-metadata">

**Author:** ![navys](https://avatars.discourse-cdn.com/v4/letter/n/3bc359/32.png) [@navys](https://forums.pega.com/u/navys)\
**Post date:** [September 9, 2021, 11:18am UTC](https://forums.pega.com/t/database-connection-error-while-trying-to-install-pega-8-6-personal-edition/1677/2 "2021-09-09T11:18:51Z")

</div>

@BhuppuY1 This error is likely because of unavailablity of port.

Can you please refer to step 12 in doc listed under System Administration - Deploying Pega Platform- [Installing the Pega Platform Personal Edition](https://docs-previous.pega.com/system-administration/installing-pega-platform-personal-edition)?

and try running again?

---

<div class="post-metadata">

**Author:** ![UmearM04](https://avatars.discourse-cdn.com/v4/letter/u/3da27b/32.png) [@UmearM04](https://forums.pega.com/u/UmearM04)\
**Post date:** [November 26, 2021, 6:35pm UTC](https://forums.pega.com/t/database-connection-error-while-trying-to-install-pega-8-6-personal-edition/1677/3 "2021-11-26T18:35:02Z")

</div>

@BhuppuY1 If this version is not working try installing lower version

---

<div class="post-metadata">

**Author:** ![Oleg\_Shepelev](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/oleg_shepelev/32/5508_2.png) [@Oleg\_Shepelev](https://forums.pega.com/u/Oleg_Shepelev)\
**Post date:** [March 26, 2022, 3:43pm UTC](https://forums.pega.com/t/database-connection-error-while-trying-to-install-pega-8-6-personal-edition/1677/4 "2022-03-26T15:43:59Z")

</div>

@BhuppuY1 It worked for me when I installed these Microsoft libraries [Latest supported Visual C++ Redistributable downloads | Microsoft Learn](https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170) .

---

<div class="post-metadata">

**Author:** ![DivakarR](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@DivakarR](https://forums.pega.com/u/DivakarR)\
**Post date:** [January 25, 2023, 7:29pm UTC](https://forums.pega.com/t/database-connection-error-while-trying-to-install-pega-8-6-personal-edition/1677/5 "2023-01-25T19:29:54Z")

</div>

@Oleg.Shepelev , Thanks it is working for me after installing [https://aka.ms/vs/17/release/vc\_redist.x64.exe](https://aka.ms/vs/17/release/vc_redist.x64.exe)
