Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662226 - dev-db/mariadb-connector-c should default to same socket path as dev-db/mariadb
Summary: dev-db/mariadb-connector-c should default to same socket path as dev-db/mariadb
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-27 04:08 UTC by Hans de Graaff
Modified: 2018-08-27 16:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mariadb-connector-c-socket-path.patch (mariadb-connector-c-socket-path.patch,707 bytes, patch)
2018-07-27 04:08 UTC, Hans de Graaff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hans de Graaff gentoo-dev Security 2018-07-27 04:08:44 UTC
Created attachment 541180 [details, diff]
mariadb-connector-c-socket-path.patch

Currently mariadb-connector-c defaults to /tmp/mysql.sock while dev-db/mariadb uses /var/run/mysqld/mysqld.sock. This causes connection failures when using the mariadb-connector-c library to connect to a local database.
Comment 1 Larry the Git Cow gentoo-dev 2018-08-27 16:41:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4a79e591710e2e22a165cf4ca58756969fb5e5

commit 1c4a79e591710e2e22a165cf4ca58756969fb5e5
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-08-27 00:16:26 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-08-27 16:41:25 +0000

    dev-db/mariadb-connector-c: set unix socket
    
    Closes: https://bugs.gentoo.org/662226
    Package-Manager: Portage-2.3.48, Repoman-2.3.10

 ...iadb-connector-c-3.0.3.ebuild => mariadb-connector-c-3.0.3-r1.ebuild} | 1 +
 ...iadb-connector-c-3.0.4.ebuild => mariadb-connector-c-3.0.4-r1.ebuild} | 1 +
 dev-db/mariadb-connector-c/mariadb-connector-c-3.0.6.ebuild              | 1 +
 dev-db/mariadb-connector-c/mariadb-connector-c-9999.ebuild               | 1 +
 4 files changed, 4 insertions(+)