[Koha-bugs] [Bug 11974] Enable non-default unix socket location for database connections.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 17 08:18:58 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11974

--- Comment #31 from David Cook <dcook at prosentient.com.au> ---
Interestingly enough on OpenSUSE "lsof" isn't working even with v4.91. That's
confusing. 

For tcpdump I had to do: tcpdump -i lo 'port 3306'

And yeah I'm using Mariadb on OpenSuse which uses the socket at
/var/run/mysql/mysql.sock instead of /var/run/mysqld/mysqld.sock. DBD::mysql
doesn't seem to be able to detect it.

Seeing libraries for both mysql and mariadb... wondering what DBD::mysql got
compiled against. I only see headers for mariadb but the "mysql" client which
is really the mariadb client uses /var/run/mysql/mysql.sock by default...

I imagine that's probably causing some havoc. 

Symlinking isn't a brilliant option here since /run and /var/run are mounted on
a tmpfs file system.

I think I could change the socket location in my /etc/my.cnf file. That's
probably the easiest thing without messing around with MySQL/Mariadb client
libraries and re-compiling DBD::mysql...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list