Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Nov 2022 21:32:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267835] databases/mariadb106-server non standard location of socket breaks connection from PHP
Message-ID:  <bug-267835-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267835

            Bug ID: 267835
           Summary: databases/mariadb106-server non standard location of
                    socket breaks connection from PHP
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: 000.fbsd@quip.cz
             Flags: maintainer-feedback?(brnrd@freebsd.org)
          Assignee: brnrd@freebsd.org

We upgraded some of our machines from MariaDB 10.3 to 10.6 and then realized
that all web sites are broken, cannot connect to database, because MariaDB
newer than 10.3 changed location of socket mysql.sock. PHP (and some other
apps) does not use settings from my.cnf (which changed location a breaks the
setup as well). These applications and PHP must be manually reconfigured to=
 be
able to connect to database server again. Something that works for 20+ year=
s is
broken now.
If MariaDB was meant as drop-in replacement for MySQL then it is no longer =
the
case. It diverged from default MySQL install too much. Now we have MySQL and
MariaDB in many versions in the ports tree but they are not interchangeable=
 and
dependent ports like PHP (again many versions) cannot be built to work for =
all
MySQL + MariaDB versions.
I thing it will be much better to have things like config files (my.cnf) and
socket (mysql.sock) the same for all versions of MySQL and MariaDB in the p=
orts
tree.
The current state complicated things too much and the gain of changes is
nothing, just the change for the change.

More cooperation between MariaDB and MySQL maintainers is needed.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267835-7788>