Error opening a TLS connection: The TLS settings didn’t allow the connection to be established. Please review your connection string.
change .env add “trustServerCertificate=true” to DATABASE_URL
DATABASE_URL="...; trustServerCertificate=true"ทำเว็บนี้ขึ้นมาไว้บันทึกโค้ด วิธีแก้ปัญหา และเรื่องที่เจอระหว่างทาง เผื่อวันหลังต้องย้อนกลับมาอ่านอีกครั้ง
Error opening a TLS connection: The TLS settings didn’t allow the connection to be established. Please review your connection string.
change .env add “trustServerCertificate=true” to DATABASE_URL
DATABASE_URL="...; trustServerCertificate=true"