An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/opt/tmp' (111) on latet version 10 (Alpha)

Steps to reproduce
1. Go to: http://192.168.1.1:81/owncloud
2. Choose 'MySQL.MariDB' and input the details
3.

Expected behaviour
You successfully able to continue with setup

Actual behaviour
You get exception An exception occured in driver: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/opt/tmp' (111)

Server configuration
Operating system: ARM7 Linux
Web server: Lighttpd
Database: MySQL
PHP version: 7.1+
ownCloud version (see ownCloud admin page): 10
Updated from an older ownCloud or fresh install:
Special configuration (external storage, external authentication, reverse proxy, server-side-encryption):

ownCloud log (data/owncloud.log)

Please paste possible errors in the following code block, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808 for more info

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

This is a misconfigration on either PHP side or MySQL side. Putting the message "Can't connect to local MySQL server through socket" into your favorite search engine should give you additional help like: