It depends on how you have your VM setup. If your VM is just using an internal network for your network interface devices, then no.
If your network interface devices are setup to use NAT or bridged, then yes. Bridged network interfaces are the easiest to work with, as it involves no routing. If your network is set to bridged mode, then your VM will be getting a DCHP address from the same location as your Host. Connecting to the mysql database is just the usual <hostip>:3306
.
If the network device is set to NAT, then you've got to figure out how to route between the two networks. It's probably just a lot easier to set your VM to bridged mode than cover how to route your NAT'd interface.