TEPlatform info: Can not connect to MySQL server

Time: 2018-11-17 6:58pm
Script: file.php

Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Errno.: 2002