0
I have an Ubuntu 18.04 Desktop 64 bit
host machine.
On this host machine, I have used VirtualBox to create an Ubuntu 18.04 Server 64 bit VM
, and have installed MySQL on it, created a MySQL user, a database, and a table.
I have set the network adaptor in this VM to Bridged Adaptor
.
On the host machine, if I type:
telnet <VM IP Address> <MySQL port number>
I get the following error message:
telnet: Unable to connect to remote host: Connection refused
What have I missed out in the configuration?
2what is the output of
netstat -anutp | grep :<MySQL port number>
on the Ubuntu server? this will show you where MySql is listening. – Zina – 2019-10-22T21:46:50.043@Zina The output is
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 995/mysqld
. The IP Address of the VM server is 192.168.0.19. – oshirowanen – 2019-10-22T22:09:03.733