postgresql 安装时 postgres 的默认用户

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5371761/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 22:53:15  来源:igfitidea点击:

default user of postgres at install

postgresql

提问by user310291

I installed Postgres on Windows 7, it only asks me for password not for username so what's the default. It is said here:

我在 Windows 7 上安装了 Postgres,它只要求我输入密码而不是用户名,所以默认值是什么。这里说:

When Postgres is installed in your account, there is a default user with the same name as the account (login) name

当您的帐户中安装了 Postgres 时,会有一个与帐户(登录)名称同名的默认用户

It's not crystal clear. Is it the username of my computer account?

这不是很清楚。是我电脑账户的用户名吗?

回答by Milen A. Radev

I don't know what installer have you used but when I install it the username is clearly indicated:

我不知道你用的是什么安装程序,但是当我安装它时,用户名被明确指出:

Postres' setup, password step

Postres的设置,密码步骤

回答by user5488142

"postgres" is the default user name

“postgres”是默认用户名

回答by Hiren Parghi

Though It is an old question, I would like to put my answer.

虽然这是一个老问题,但我想给出我的答案。

Default Username of PostgreSQL on Windows is postgres.

Windows 上 PostgreSQL 的默认用户名是postgres