[MacPorts] #39728: mysql55 @5.5.32_1 mysql_install_db fails when using _mysql user
MacPorts
noreply at macports.org
Mon Jul 15 08:45:38 PDT 2013
#39728: mysql55 @5.5.32_1 mysql_install_db fails when using _mysql user
------------------------------+-----------------------
Reporter: pearcemerritt@… | Owner: pixilla@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: mysql55 |
------------------------------+-----------------------
Comment (by pixilla@…):
What are the permissions on your data directory:
{{{
$ ls -dl /opt/local/var/db/mysql55
}}}
The mysql55-server port should be creating the data directory with the
proper permissions for you. To test this you can deactivate mysql55 and
mysql55-server, move your data directory out of the way and finally
reactivate mysql55 and mysql55-server:
{{{
$ sudo port deactivate mysql55-server mysql55
$ sudo mv /opt/local/var/db/mysql55{,-original}
$ sudo port activate mysql55 mysql55-server
$ sudo -u _mysql /opt/local/lib/mysql55/bin/mysql_install_db
}}}
--
Ticket URL: <https://trac.macports.org/ticket/39728#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list