Mon*_*lal 5 sql authentication postgresql jetbrains-ide datagrip
我用来DataGrip练习数据库(PostgresSQL),并且在尝试执行查询时最终出现此错误(即使我在测试连接中尝试,它基本上也不接受我创建的用户/通行证)。有人可以指导我如何正确设置吗?
我的假设是用户名/通行证将由该 GUI 创建,但它希望您已经创建了用户/通行证:
\n\n ~ \xee\x82\xb0 \xee\x82\xa0 master \xe2\xad\x91 \xee\x82\xb0 psql -U postgres                          \xee\x82\xb2 \xe2\x9e\xb6 2 \xee\x82\xb2 09:50:56 PM \npsql (9.3.2)\nType "help" for help.\n\npostgres=# \\du\n                             List of roles\n Role name |                   Attributes                   | Member of \n-----------+------------------------------------------------+-----------\n postgres  | Superuser, Create role, Create DB, Replication | {}\n\npostgres=# CREATE USER mona WITH PASSWORD \'MYPASSWD\';\nCREATE ROLE\n然后我输入信息并能够执行我的查询。
\n| 归档时间: | 
 | 
| 查看次数: | 22912 次 | 
| 最近记录: |