-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README for materials/1-dimensional-data-modeling missed user creation step #129
Comments
لذلك حتى لو لم ينشئ الطلاب دورًا جديدًا واستخدموا مستخدم postgres الافتراضي، فسيظلون يفشلون في الاتصال بـ dbeaver حتى تتم إضافة كلمة مرور بشيء مثلALTER ROLE postgres WITH PASSWORD 'postgres'; لم تكن طريقة Docker تحتوي على هذه التعقيدات لأن صورة Postgres تتطلب كلمة المرور وتنشئ الأدوار المطلوبة عند بدء تشغيل الصورة |
@gitgithan, In order to set up the postgres on your local instance, you have to perform the following steps:
|
@vanandjiwala I mentioned that
The issue is for people who are not using docker (for whatever reasons) to create the database. |
@gitgithan - can you make a PR |
This command failed until I did
CREATE ROLE <computer-username> WITH LOGIN SUPERUSER PASSWORD <pass>;
In Dbeaver postgres which uses JDBC, it seems JDBC requires a password too, so using the default postgres which has no password would not connect.
So even if students did not create a new ROLE for
<computer-username>
and used the default postgres user, they would still fail to connect to dbeaver until a password is added with something likeALTER ROLE postgres WITH PASSWORD 'postgres';
The docker method did not have these complexities because the postgres image required the password and created the required roles as the image started.
`
The text was updated successfully, but these errors were encountered: