The installed openGauss database is always wrong, prompted by the figure below:Failed to obtain the environment variable PGHOST.
Traceback (most recent call last):
File “gaussdb/om/script/gs_install”, line295,in <module> DefaultValue.setActionFlagFile(“gs_install”)
File “gaussdb/om/script/gspylib/common/Common.py”, line 2230,in setActionFlagFile
Raise Exception(ErrorCode.GAUSS_518[“GAUSS_51802”]%“PGHOST”)