#29991: need mysql_select or different approach to solve mysql woes ----------------------------------+----------------------------------------- Reporter: nefar@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: duplicate | Keywords: Port: mysql5-server | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => duplicate Comment: Replying to [ticket:29991 nefar@…]:
is there a mysql_select ?
Duplicate of #29907.
[~]$ mysql_upgrade5 [[br]] Looking for 'mysql' as: mysql [[br]] FATAL ERROR: Can't execute 'mysql'[[br]]
Duplicate of #20949, #10566.
It seems to me the correct way to label the binaries should be using the
--program-prefix
flag
There is a comment in the port that's been there for a long time (since r59788) saying use of that flag is in store for the future. This was ported to the mysql5 port from the mysql5-devel port, where this option had been used, but was removed in r30318 because according to #12954 it was broken. The two referenced upstream bug reports about it are still not resolved. [http://bugs.mysql.com/bug.php?id=11913 MySQL bug 11913] has not been touched in two years, and [http://bugs.mysql.com/bug.php?id=25226 MySQL bug 25226] was closed as wontfix saying they can't support this option. The current version of MySQL 5.5 (not yet in MacPorts but will be once I resolve #25751) has switched to cmake so I don't know if that changes the situation at all. The workaround for you for now is put /opt/local/lib/mysql5/bin in your PATH. -- Ticket URL: <https://trac.macports.org/ticket/29991#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS