Craft Setup 3.6.5.1 with MYSQL with SSL version 5.7.29
Looks like you got this sorted using Craft's database attributes config setting.
https://github.com/craftcms/cms/issues/7583#issuecomment-781168257