access db from host to vm code example
Example: expose db in virtualbox
GRANT ALL ON *.* to 'username'@'192.168.33.1' IDENTIFIED BY 'password' WITH GRANT OPTION;
flush privileges;
GRANT ALL ON *.* to 'username'@'192.168.33.1' IDENTIFIED BY 'password' WITH GRANT OPTION;
flush privileges;