最佳答案
我试图从命令行创建一个数据库。 我的操作系统是 centos,postgres 版本是10.9。
sudo -u postgres psql createdb test
Password for user test:
为什么提示我输入密码?