0

It may seem like a silly question but i've never given it any thought. For the past few months i've been building a database and only ever accessed it through my laptop ( which is what I think is called the local Host, but please correct me if I am wrong). Yesterday, intuitively I thought, what if I were away from my laptop but would really like to either access the data or amend some records, how would I be able to do it. Which is the reason for my question.

I know when I use it locally all I do is enter the database, username and password via python for example. So, what if I was at an internet cafe and wanted to pop in and access my database. How would I do this?

python_starter
  • 1,509
  • 1
  • 11
  • 18
  • Possible duplicate of [How to allow remote connection to mysql](http://stackoverflow.com/questions/14779104/how-to-allow-remote-connection-to-mysql) – Ken White Jan 10 '16 at 05:32

2 Answers2

1

You have to mention your ip address of your system with defined port in that way you can access your database anywhere

Wasiq Muhammad
  • 3,080
  • 3
  • 16
  • 29
1

How do I connect to this localhost from another computer on the same network?

Question was already asked. Go to the answer, very helpful information.

Community
  • 1
  • 1
Jimmy Canadezo
  • 161
  • 1
  • 10