怎么使用socket方式连接mariadb

安装的是mariadb,设置了socket方式连接,但是运行 setup-seafile-mysql.sh 没看到socket方式的设置,只能选择端口