Случайно выполнил chown -R root:wheel * для всех файлов на сервере. Теперь не стартует mysql, ошибки в консоль не пишет. Хотел переустановить mysql но тоже получил ошибку. Вот отрывок из конца лога:
===> Cleaning for pkg-1.6.2
pkg-static: /var/db/pkg wrong user or group ownership (expected 0/0 versus actual 88/88)
pkg-static: /var/db/pkg wrong user or group ownership (expected 0/0 versus actual 88/88)
You are about to convert your system to pkg while you have ports/packages
installed with the old pkg_install tools.
To switch to pkg:
1) Install ports-mgmt/pkg
cd ports-mgmt/pkg && make UPGRADEPKG=1 install clean
2) Convert your package database by running pkg2ng
*** Error code 1
Stop in /usr/ports/ports-mgmt/pkg.
===>>> make build failed for ports-mgmt/pkg
===>>> Aborting update
===>>> Update for ports-mgmt/pkg failed
===>>> Aborting update
===>>> Update for archivers/lzo2 failed
===>>> Aborting update
===>>> Update for archivers/libarchive failed
===>>> Aborting update
===>>> Update for cmake-2.8.11.2 failed
===>>> Aborting update
Terminated
В mysql-error.log
151221 9:45:58 [ERROR] Can't start server : Bind on unix socket: Address already in use
___________________________________
Решение: rm /tmp/mysql.sock
и перезапуск mysql.