Php Moodle Database Connection Failed When Running A Script Stack

Php Moodle Database Connection Failed When Running A Script Stack