moving databases

  1. Maelstorm

    Relocate MySQL databases

    I have a default installation of MySQL 5.7 on my machine. The default locations of the database directories (there are three of them (mysql, mysql_secure, and mysql_tmpdir)) is /var/db. I want to move them to /usr/local/var/db. I have tried symlinking them, moving them and changing the config...