In the last post, we talked about the issue when you can't install PostgreSQL database. Today, let's talk about how to fix the issue if you have "There Has Been an Error” during PostgreSQL installation.
4 solutions to fix "There Has Been an Error” during PostgreSQL installation
1. Language Issues:
Ensure no Chinese characters are used in paths or usernames. Change Windows/Mac OS usernames to English or create a new English username.
2. Permission Issues:
Run the installer as an administrator.
3. VC Library:
The issue might be with the VC library. Reinstall the required VC library (e.g., VC2017). Alternatively, try a different version of PostgreSQL.
4. Direct Installation of PostgreSQL 11.2-1:
Use this installer: [PostgreSQL 11.2-1 for Windows](https://get.enterprisedb.com/postgresql/postgresql-11.2-1-windows-x64.exe). This version should install without errors.