#16531: mysql5 secure installation -------------------------------------------+-------------------------------- Reporter: darren.weber.lists@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: duplicate | Keywords: mysql install secure root password Port: mysql5, mysql5-devel | -------------------------------------------+-------------------------------- Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => duplicate Comment: Replying to [ticket:16531 darren.weber.lists@…]:
I think we need a symbolic link for mysql in /opt/local/bin/mysql so that basic config scripts will work. I guess this can screw up installation of multiple versions,
Installation of multiple versions is [ticket:4115 already screwed], though I would rather unscrew it than screw it more. :-)
but that can be handled by having some meta scripts to set the preferred alternative or current working version.
You mean like [browser:contrib/README select]? We could create a mysql_select port using select. However if the goal is to be able to type just "mysql" at the command line and have it launch mysql, then the way to do that currently is to add /opt/local/lib/mysql5/bin to your $PATH.
In this ticket, I just want to highlight that the secure installation fails because it cannot find the mysql command (maybe there is an easy solution for this):
Duplicate of #14600. We should patch mysql_secure_installation. -- Ticket URL: <http://trac.macports.org/ticket/16531#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS