Last modified: 2014-11-14 09:12:51 UTC
After enabeling the port fowarding for mysql/mariadb according to the template in support/Vagrant-extrafile a connection to the database server is not possible from the remote host ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) This is especially uncomfortable because phpmyadmin is disabled for vagrant.
I found a workaround: 1. uncomment the binding to 127.0.0.1 in /etc/mysql/my.cnf 2. execute the mysql command GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';