[CONC-124] Default socket path for programs linked with libmariadbclient.a Created: 2015-02-23 Updated: 2018-10-26 Resolved: 2015-02-23 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.0 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Jarosław Siebert | Assignee: | Georg Richter |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Archlinux, Slackware |
||
| Description |
|
When I try to connect to mariadb server with program linked with libmariadbclient.a over local connection, then it reports: |
| Comments |
| Comment by Jarosław Siebert [ 2015-02-23 ] | |
|
I found the solution: | |
| Comment by Georg Richter [ 2015-02-23 ] | |
|
Neither libmysql or libmariadb read from configuration file by default. To read configuration options from my.cnf you need to set option MYSQL_READ_DEFAULT_GROUP:
| |
| Comment by Otto Kekäläinen [ 2018-10-26 ] | |
|
Merge request on the topic submitted downstream: https://salsa.debian.org/mariadb-team/mariadb-connector-c/merge_requests/2 |