With command line I can connect to MySQL/MariaDB with socket parameter (-S /path/to/file.sock).
But I don't know configure ocs to use this file.
But I don't know configure ocs to use this file.