<p>Looks like you got this sorted using Craft's database <a href="https://craftcms.com/docs/3.x/config/db-settings.html#attributes" rel="nofollow noreferrer">attributes</a> config setting.</p>
<p><a href="https://github.com/craftcms/cms/issues/7583#issuecomment-781168257" rel="nofollow noreferrer">https://github.com/craftcms/cms/issues/7583#issuecomment-781168257</a></p>

CC BY-SA 4.0
2021-02-18T20:19:57.553Z
2021-02-18T20:19:57.553Z
Brad Bell
<p>I'm trying to install Craft version 3.6.5.1 with MYSQL version 5.7.29 from Azure.
While setup it fails with the following error</p>
<p>Testing database credentials ... failed: SQLSTATE[HY000] [9002] SSL connection is required. Please specify SSL options and retry.</p>

<craft3><mysql><ssl>
Craft Setup 3.6.5.1 with MYSQL with SSL version 5.7.29
# Craft Setup 3.6.5.1 with MYSQL with SSL version 5.7.29

(Asked by: username_0 on 2021-02-17)

I'm trying to install Craft version 3.6.5.1 with MYSQL version 5.7.29 from Azure.
While setup it fails with the following error

Testing database credentials ... failed: SQLSTATE[HY000] [9002] SSL connection is required. Please specify SSL options and retry.

**Tags:** craft3, mysql, ssl


---

## 1 answers

### Answer by username_1 on 2021-02-18. Score: 0

Looks like you got this sorted using Craft's database [attributes](https://craftcms.com/docs/3.x/config/db-settings.html#attributes) config setting.

<https://github.com/craftcms/cms/issues/7583#issuecomment-781168257>


---

