Hello. I am running Ubuntu off of Hyper-V on Windows Server 2012. I have installed MySQL in ubuntu. The bind-address in /etc/mysql/my.cnf is 127.0.0.1. I tried to change the bind-address to 192.168.0.1 by editing the my.cnf file and then restart mysql. But mysql does not restart. Do I really need to do this to connect to the mysql database on Ubuntu from Workbench on the Windows Sever 2012 host? I can't seem to connect. I also changed my virtual network switch in Hyper-V manager to 'internal', without luck. Any help would appreciated.
UPDATE: Ok. Got it to work by obtaining an external IP address from the router. I type ifconfig and use the output in my.cnf file. But what I want to do is to close the outside world (including the router), set my own IP address, and directly have Windows
Server host and the Ubuntu VM talk directly to one another. I know you can do this by creating a internal virtual switch. But I am not getting that part to work.
- Edited by tearsforhari Tuesday, September 08, 2015 5:37 PM