psql: FATAL: role “postgres” does not exist 解决方案
2013-07-27 01:47
561 查看
当时想做的事情,是运行一个创建数据库的脚本。找到的解决方案差不多和下面这个链接相同。
http://stackoverflow.com/questions/15301826/psql-fatal-role-postgres-does-not-exist
实际上做的事情就是login in 用别的帐号
然后 ,在postgres的虚拟机里(而不是terminal)
实际上这个对我来说就够了。解决了 role does not exist的问题。
http://stackoverflow.com/questions/15301826/psql-fatal-role-postgres-does-not-exist
实际上做的事情就是login in 用别的帐号
然后 ,在postgres的虚拟机里(而不是terminal)
CREATE USER postgres SUPERUSER;
实际上这个对我来说就够了。解决了 role does not exist的问题。
相关文章推荐
- psql: FATAL: role “postgres” does not exist 解决方案
- psql: FATAL: role “postgres” does not exist 解决方案 postgre 无法连接的问题
- com.edb.util.PSQLException: FATAL: role "主机名" does not exist
- psql: FATAL: role “username” does not exist
- psql FATAL role vagrant does not exist
- FATAL: role "root" does not exist解决办法
- pgpool-II的 FATAL: role "nobody" does not exist 错误
- psql: FATAL: database “<user>” does not exist
- linux 源码安装出现createdb: could not connect to database template1: FATAL: role "postgres" does not exis
- repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案
- repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案
- repo sync出现“fatal: '../platform/abi/cpp.git' does not appear to be a git repository”的解决方案
- expdp ORA-31626: job does not exist 解决方案
- Dynamics CRM2013 导入解决方案(快速视图窗体)SystemForm With Id Does Not Exist的解决方法
- GP服务扩展模块错误the tool is not licensed,Dataset GPL0 does not exist or is not support解决方案
- mvc 目录不存在/Directory does not exist.的解决方案
- Dynamics CRM2013 导入解决方案(快速视图窗体)SystemForm With Id Does Not Exist的解决方法
- java.lang.IllegalArgumentException: column '_id' does not exist问题的解决方案
- Dynamics CRM2013 导入解决方案(快速视图窗体)SystemForm With Id Does Not Exist的解决方法
- role 'PLUSTRACE' does not exist