drogonframework / drogonframework/drogon

在windows下使用drogon_ctl create model models生成mysql数据库模型类报SSL错误 #BUG

Open
#2,311 5 comments 0 reactions 0 assignees View on GitHub
FAQ
Dominant language
C++
Stars
14.3k
Forks
1.4k
Avg merge
1d 13h
Merged PRs (30d)
14

Description

drogon_ctl create model models
Create model
mysql
Connect to server...
Source files in the models folder will be overwritten, continue(y/n)?
20250520 02:01:36.743000 UTC 5676 ERROR Error(2026) "TLS/SSL error: Server certificate validation failed. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. Error 0x800B0109(CERT_E_UNTRUSTEDROOT)" - MysqlConnection.cc:333
20250520 02:01:36.743000 UTC 5676 ERROR Failed to mysql_real_connect() - MysqlConnection.cc:335

但是我在linux下执行同样的命令,连接同一个数据库,就能正常执行。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.