I am looking to disable SSL to connect to my hosting with Omeka-s 3.1.2 and I would like to know how I can integrate “MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT” in the code using Mysqli, the file is in “omeka-s\vendor\laminas-db\src\Adapter\Driver\Mysqli” to install the cms.
Php : 7.4.14
Mysql : 8.0.28
Omeka-s : 3.1.2
error: “An exception occurred in driver: SQLSTATE[HY000]  Access denied for user”.
Ps: I can connect via a simple php script like this:
$conn = mysqli_init(); $conn->options(MYSQLI_OPT_SSL_VERIFY_SERVER_CERT, false); mysqli_ssl_set($conn, , , ,); $conn->real_connect('$hostname', $username, password,$dbname,$port,'MYSQLI_CLIENT_SSL');
Thanks for your help.
Translated with DeepL Translate: The world's most accurate translator (free version)