AquariusM 发表于 2013-1-30 01:33:58

卸载后再安装postgre时遇到的问题

1。安装postgreSQL出现:"Invalid username specified:登录失败:未知的用户名和错误密码"
http://dl.iteye.com/upload/picture/pic/62612/0ea3e380-1c60-3978-bb7e-259e51d19d04.bmp%20
 
解决办法:右击“我的电脑”->管理->本地用户和组->用户->删除postgres用户,然后重新安装。
 
http://dl.iteye.com/upload/picture/pic/62614/a792decd-0b5a-3e86-9af4-842482048f0b.bmp%20
 
2。安装postgreSQL时出现:“The specified data directory is not empty.”错误提示
 
http://dl.iteye.com/upload/picture/pic/62616/565d611e-4009-3250-a447-508be30a4b63.bmp%20
http://dl.iteye.com/upload/picture/pic/62618/e06b9f78-2a3c-31c0-b527-ef8bc040d06d.bmp%20
 
解决办法:因为以前安装过postgreSQL,卸载时安装目录下的部分文件没有完全删除,手动删除C:\Program Files\PostgreSQL文件夹,如果还不行则可进入注册表删除postgre内容,然后单击Next继续。
参考文章:http://blog.csdn.net/liuyuan_jq/archive/2007/12/03/1914164.aspx
 
 
页: [1]
查看完整版本: 卸载后再安装postgre时遇到的问题