Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 662226

Summary: dev-db/mariadb-connector-c should default to same socket path as dev-db/mariadb
Product: Gentoo Linux Reporter: Hans de Graaff <graaff>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mariadb-connector-c-socket-path.patch

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(+)