Re: New to mySQL - need advice on connecting to a standalone server remotely
Posted by: Filipe Silva
Date: February 12, 2018 11:36AM

Hi Narendra,

You need to use a hostname or an IP address that can be accessed from the outside, specifically from Google cloud servers.

I suppose that since your database is installed in your laptop you don't have an external IP for it, so you may have to resort to port forwarding or a DMZ setup in your router, if you have access to its configuration pages. Another option is to do some kind of tunneling to some other host that has public access. Anyway, none of this is to be configured on MySQL, it's all about setting up your Operating System. I'm sure you can find a myriad of instructions in the Internet on how to do it.

Once you get access, you may need to include the database name in your connection string. I see that you are missing it, right between the last slash and the question mark.

IHTH

Options: ReplyQuote


Subject
Written By
Posted
Re: New to mySQL - need advice on connecting to a standalone server remotely
February 12, 2018 11:36AM


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.