How do i connect api to azure mysql database.
Maybe need to change this
"MySqlDbConnectionX": "Server = mydb.mysql.database.azure.com; Database = db; User Id = id; Password = password;"
for this
"MySqlDbConnectionX": Server = "mydb.mysql.database.azure.com"; UserID = "id"; Password = "{your_password}"; Database = "{your_database}"; SslMode = MySqlSslMode.Required; SslCa = "{path_to_CA_cert}"
I would need to know the path to cert, but I don't know where to put it.
If anyone has an example, please send me.