当我使用 EnterpriseDB 安装 postgreSQL 12 时未创建“postgres”用户,在安装过程中,在开始时有一个步骤,您创建超级用户“postgres”并给他密码,但它不会创建
% sudo -u postgres psql
psql: error: could not connect to server: FATAL: password authentication failed for user "postgres"
这并不奇怪,因为我没有用户“postgres”(必须是超级用户)或任何其他用户
我尝试修复它并自己创建用户,但我如何理解手动添加用户并没有改变任何东西