How to connect to a MYSQL in local machine from the Cloud?
Posted by: Anthony Cornejo
Date: October 23, 2017 05:44PM

[ Customer PC - MYSQL DB ] <--cloud--- [ Web App ]
[ Customer PC - MYSQL DB (master) ] <--cloud--- [ MYSQL DB (slave) | Web App ]

I have a mysql database that resides in a normal pc (windows 7), it's a database from an old application and I can't move it.

I need to communicate a web app (that resides in the cloud) with the database inside the "normal windows 7" that resides in a local lan with a private IP.

I was trying to do a MYSQL replication between the local database and a mysql slave, I do my test using virtual machine and it was working.

But when I try to replicate it, I realize that I can't do NAT between a normal windows and the public IP of my client and therefore I can't get the connection between the local MYSQL (master) and the Slave (Cloud) to get the replication.

Maybe there is something that I'm missing?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.