如何在PostgreSQL中找到用户ID. [英] How to find the userID in PostgreSQL.

查看:473
本文介绍了如何在PostgreSQL中找到用户ID.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在使用postgre SQL,我想使用连接字符串为c-sharp数据库连接查找数据库的用户ID.由于我已经很长时间没有使用该数据库了,所以忘记了UserID和其他数据库帐户详细信息,有人可以帮助我如何获取用户ID吗?是否有任何查询以获取用户ID?另一个疑问

用户名和用户ID是否相同?

Hi,

I am working with postgre SQL, I want to find the User ID of my database for c-sharp database connectivity using connection string. As I havn''t used this DB for a long time I forgot the UserID and other DB account details, can anyone help me how to retrive the user ID? Is there any query to get user ID? one more doubt

Is user Name and User ID same? any help will be appriciated.

推荐答案

Hy
如果我们谈论托管您的postgresql的窗口,则会找到一个系统帐户postgres或postgresql,您可以从那里重置您的登录密码.
Hy
If we talk about an windows that host your postgresql you will find the an system account postgres or postgresql an you can reset your login password from there.


这篇关于如何在PostgreSQL中找到用户ID.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆