postgresql 口令: psql: 致命错误: 用户 认证失败

您所在的位置:网站首页 尿酸高能吃蚕豆吗新鲜的蚕豆 postgresql 口令: psql: 致命错误: 用户 认证失败

postgresql 口令: psql: 致命错误: 用户 认证失败

#postgresql 口令: psql: 致命错误: 用户 认证失败| 来源: 网络整理| 查看: 265

当我们刚刚安装完成postgresql后,直接通过cmd psql打开时,无论我们输什么密码都是错误的。

其实是因为默认他会使用系统的账户名来登陆,而pgsql中其实没有这个账户,我们应该改成

psql -U postgres

然后输入你安装时的密码就可以了 在这里插入图片描述



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3