#40606: mysql_secure_installation won't run w/o modifying PATH ---------------------------+-------------------------------- Reporter: clint.olsen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: databases/mysql56 ---------------------------+-------------------------------- Normally when I install a port, my .profile is modified adding support for commands. When I tried to run the secure installation script, I got: {{{ $ /opt/local/lib/mysql56/bin/mysql_secure_installation Can't find a 'mysql' client in PATH or ./bin Cleaning up... Warning: Could not unlink .my.cnf.92844: No such file or directory Warning: Could not unlink .mysql.92844: No such file or directory }}} I had to print the contents of the port to find out what my PATH should be. After adding it, the script worked fine. -- Ticket URL: <https://trac.macports.org/ticket/40606> MacPorts <http://www.macports.org/> Ports system for OS X