In installations where the databases is enforcing secure connections (example: MySQL running with error_er_secure_transport_required enabled), the entrypoint.sh scripts will fail as it doesn't allow the use of secure connections.
We should probably the script to use mysqli_ssl_set/mysqli::ssl_set (see docs).