mysqli_real_connect(): (HY000/2002): No such file or directory in /var/www/html/uiworld/wp-includes/wp-db.php on line 1633 code example
Example: mysqli_real_connect(): (hy000/2002): no such file or directory
Locate config.sample.inc.php
Change
$cfg['Servers'][$i]['host'] = 'localhost';
into
$cfg['Servers'][$i]['host'] = '127.0.0.1';
Save.
Then rename the file and remove sample from the name.