I've browsed the web to find a solution to my problem.
I setted up a Docker configuration to run PHP 7.0.33 on Ubuntu 16.04 with mysql 5.7 and phpmyadmin. I tried installing Moodle 3.5 but kept having the following issue while trying to initiate database :
Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /var/www/moodle/lib/dml/mysqli_native_moodle_database.php on line 79
My moodle directory is in /var/www, and the file mysqli_native_moodle_database.php is in the right place.
Anyone using Docker here ? (if you need logs or anything i can provide them)
Thanks in advance