[production] socket=/tmp/mysql.sock # Depending on the live MySQL server version and host OS, this "socket path" might vary. For example on "Ubuntu14.04/16.04", it's possible to find it via grepping "socket" of "/etc/my.cnf" or "/etc/mysql/". user=root host=localhost schema=tsrht [development] socket=/tmp/mysql.sock # Alternative for "Ubuntu16.04 + MySQL5.7" could be "/var/run/mysqld/mysqld.sock". user=root host=localhost allow-unsafe skip-alter-wrapper skip-alter-algorithm skip-alter-lock schema=tsrht_test