现在的位置: 首页 > 综合 > 正文

安装PostgreSQL出现“Invalid username specified:登录失败:未知的用户名和错误密码。”和“The specified data directory is not empty.”错误的解决方案

2018年02月11日 ⁄ 综合 ⁄ 共 280字 ⁄ 字号 评论关闭

1.安装 PostgreSQL出现“Invalid username specified:登录失败:未知的用户名和错误密码。”错误提示

错误提示

解决方法:

右击“我的电脑”->管理->本地用户和组->用户->删除postgres用户,然后重新安装PostgreSQL。

2.安装PostgreSQL时出现“The specified data directory is not empty.”错误提示


解决方法:

如果以前安装过PostgreSQL,卸载时安装目录下的部分文件没有完全删除,手动删除安装目录下的C:/Program Files/PostgreSQL文件夹,然后单击上图的Next.

抱歉!评论已关闭.