I installed MariaDB server in linux using tar file(mariadb-5.5.28a-linux-i686.tar.gz) followed by the instructions from this link : https://kb.askmonty.org/en/installing-mariadb-binary-tarballs/.
After installation, I tried to connect MariaDB server using client program. Its working fine.
From my application, I tried to connect MariaDB server via ODBC connector. At that time it shows an error like this :
ODBC error: [08S01] (2002) [unixODBC] [MySQL] [ODBC 5.1 Driver] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)!
Both in my.cnf and ODBC configuration file have same socket path :
my.cnf file is created in
I have no idea about why this error comes?
Please anybody help me on this regard...
Thanks in Advance