Mariadb - unable to connect because socket file name is in uppercase character.

Hello.

I could not connect to mariadb by script because pid file name are generated by system in uppercase character.

How to solve this.

Any help is welcome.

Solved case.

pid File name is generated in upper case somewhere in my.cnf

Thank you for helping.

???
How did you install MariaDB and how are you starting it?

The openSUSE init script should specify a pid file with lower case characters.
This is line #261 of that script:

        pid_file=/var/run/mysql/mysqld.pid

You can specify/override the pid file name in /etc/my.cnf and /etc/my.cnf.d/ though (with the option “pid-file =”), so have a look there.