[MacPorts] #66981: mariadb-10.11 @10.11.1_0 binaries aren't in the normal path
MacPorts
noreply at macports.org
Wed Feb 22 17:50:01 UTC 2023
#66981: mariadb-10.11 @10.11.1_0 binaries aren't in the normal path
-------------------------+---------------------------
Reporter: adamfranco | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: mariadb-10.11
-------------------------+---------------------------
After installing https://build.macports.org/builders/ports-
12_arm64-builder/builds/72726 I didn't find any of the expected `mysql`
commands available even with `/opt/local/bin` in my `$PATH`. It turns out
that this port installs its binaries in
`/opt/local/lib/mariadb-10.11/bin`, but there is no note that this path
must be added to the user's `$PATH`. It seems like it would be even better
if this step wasn't needed and the binaries were installed in
`/opt/local/bin` or were somehow linked there with a `port select mariadb
mariadb-10.11` sort of command, but there may be reasons for not doing so.
The addition of a note about the path would be a minumum-impact
improvement to help avoid confusion.
Here are the existing notes seen on install:
{{{
---> Activating mariadb-10.11 @10.11.1_0
---> Cleaning mariadb-10.11
---> Scanning binaries for linking errors
---> No broken files found.
---> No broken ports found.
---> Some of the ports you installed have notes:
mariadb-10.11 has the following notes:
On activation if no /opt/local/etc/mariadb-10.11/my.cnf file exists
one
will be created which loads
/opt/local/etc/mariadb-10.11/macports-default.cnf.
If a /opt/local/etc/mariadb-10.11/my.cnf file exists MacPorts does not
touch it and any changes you make to
/opt/local/etc/mariadb-10.11/my.cnf
will be preserved (e.g., during port upgrades, deactivations or
activations). /opt/local/etc/mariadb-10.11/my.cnf is a good place to
customize your mariadb-10.11 installation.
Any changes made to /opt/local/etc/mariadb-10.11/macports-default.cnf
will be lost during port upgrades, deactivations or activations so you
are advised to not make changes here. Currently
/opt/local/etc/mariadb-10.11/macports-default.cnf contains only one
directive; to disable networking. With disabled networking it is
possible to install and have running all the MacPorts mysql ports
simultaneously.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66981>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list