MariaDB won't start

Ryan Schmidt ryandesign at
Wed Feb 19 10:02:55 PST 2014

On Feb 19, 2014, at 02:08, Michael Crawford wrote:

> $ port info mariadb
> mariadb @5.5.34_1

FYI, “port info” tells you what’s available, not what’s installed. “port installed” tells you what you actually have installed.

> There is only one zero-length file in /opt/local/var/log/mariadb,
> rather curiously named something like ".turd_mariadb_server".  No
> actual log text.

This is not curious. MacPorts uses empty .turd files to mark directories that should not be deleted. (During installs, MacPorts deletes directories that are empty; by putting a .turd file (or any file) in a directory, this makes it non-empty so MacPorts doesn’t delete it.) The command used in Portfiles to create .turd files is destroot.keepdirs.

More information about the macports-users mailing list