Error connecting to MySQL Directadmin
perl -pi -e 's/mysqld=ON/mysqld=OFF/' /usr/local/directadmin/data/admin/services.status
service mysqld stop
mv /var/lib/mysql/ /var/lib/mysql_old
touch /var/lib/mysql/mysql.sock
chmod 710 /var/lib/mysql/mysql.sock
ln -s /var/lib/mysql_old/mysql.sock /var/lib/mysql/mysql.sock
cd /usr/local/directadmin/custombuild
./build set mysql 5.7
./build set mysql_inst mysql
./build set mysql_backup no
./build update
./build mysql