Redis credentials#
คุณสามารถใช้ credentials นี้เพื่อยืนยันตัวตนกับ node ต่อไปนี้ได้:
Supported authentication methods#
- Database connection
Related resources#
ดูข้อมูลเพิ่มเติมเกี่ยวกับบริการนี้ได้ที่ Redis's developer documentation
Using database connection#
คุณจะต้องมี user account บน Redis server และ:
- Password
- ชื่อ Host
- หมายเลข Port
- Database Number
- SSL
ขั้นตอนการตั้งค่า credentials นี้:
- กรอก Password ของ user account ของคุณ
- กรอกชื่อ Host ของ Redis server ค่า default คือ
localhost
- กรอกหมายเลข Port ที่การเชื่อมต่อควรใช้ ค่า default คือ
6379
- หมายเลขนี้ควรตรงกับ
tcp_port
ที่แสดงเมื่อคุณรันคำสั่งINFO
- หมายเลขนี้ควรตรงกับ
- กรอก Database Number ค่า default คือ
0
- หากการเชื่อมต่อควรใช้ SSL ให้เปิด toggle SSL หากปิด toggle นี้ การเชื่อมต่อจะใช้ TCP เท่านั้น
ดูข้อมูลเพิ่มเติมที่ Connecting to Redis | Generic client