#42807: mysql56 @5.6.16 error running mysql_install_db script --------------------------------------------+------------------------------ Reporter: joost.vandijk@… | Owner: macports- Type: defect | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Keywords: mysql basedir mysql_install_db | Version: 2.2.1 | Port: mysql56 --------------------------------------------+------------------------------ When running {{{ sudo -u _mysql /opt/local/lib/mysql56/bin/mysql_install_db }}} according to instructions shown during a port install mysql56-server a warning is issued: {{{ WARNING: Could not write to config file $basedir/etc/mysql56/my.cnf: No such file or directory }}} and a FATAL error is issued later on This is due to an incorrect patch file: files/patch-scripts-mysql_install_db.pl.in.diff where I believe the line {{{ +$config_file= '$basedir@SYSCONFDIR@/my.cnf'; }}} should read {{{ +$config_file= "$basedir@SYSCONFDIR@/my.cnf"; }}} running OSX 10.9.2 -- Ticket URL: <https://trac.macports.org/ticket/42807> MacPorts <http://www.macports.org/> Ports system for OS X