Skip to content

Commit

Permalink
fix: cannot connect to site db in v2 on local setup
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Dec 14, 2024
1 parent 8183de3 commit b54c25c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def __init__(self, data_source):
host=frappe.conf.db_host or "127.0.0.1",
port=frappe.conf.db_port or "3306",
ssl=False,
ssl_verify_cert=True,
ssl_verify_cert=bool(not frappe.conf.developer_mode),
charset="utf8mb4",
use_unicode=True,
)
Expand Down

0 comments on commit b54c25c

Please sign in to comment.