2002 : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
INSERT INTO `conbcdc_clar239`.`cl_log`
                SET `course_code` = NULL,
                    `tool_id` = NULL,
                    `user_id` = NULL,
                    `ip` = '',
                    `date` = '2018-07-16 03:20:26',
                    `type` = '',
                    `data` = ''
L   23:#           index.php           | require()
L  181:#   claro_init_global.inc.php   | error()
L   67:#        console.lib.php        | log()
L  201:#       claroline.lib.php       | log()
L   56:#          log.lib.php          | claro_sql_query()

Cannot connect to database server conbcdc_clar239@localhost