"The system user failed to connect, unable to create the core database" problem solved

According to the error prompting that the system user connection parameters are incorrect, it is found that the postgreSQL environment variable is not configured 

 1. Configure the postgreSQL environment variable, set the variable name POSTGRESQL_HOME, and the variable value is the postgreSQL installation directory

2. Add %POS  TGRESQL_HOME%\bin to the path.

After the configuration, it was found that it still could not be created. After checking the LAN, it was found that computers on the same network segment could only ping through one way, indicating that the ip was wrong.

Check that the ip address is correct. Check the pg_hba.conf file in the data directory of the installation path (0.0.0.0/0 means that all access is allowed, and md5 is the encryption method). It is found that the encryption method is different, and the core database is successfully created after unified modification to md5 encryption. .

Modify as follows:

problem solved.

Guess you like

Origin blog.csdn.net/qq_51978639/article/details/128845303
Recommended