W
W
webcoder12019-01-07 14:32:38
PHP
webcoder1, 2019-01-07 14:32:38

How to connect to phpMyAdmin from another machine?

Perhaps the question is stupid, but I could not find an answer for 2 days, so I turn to the forums.
How to connect to phpMyAdmin from another machine?
Now for the details: I bought 2 VDS hosts for 2 sites. I installed phpMyAdmin on 1 of them. Checked - works. But there was a problem - I can not connect to my databases from another machine, because they are on the localhost server. But how do I change this host to my IP address so that I can connect to the host from another machine?
Help me please!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rikonardo, 2019-01-07
@webcoder1

In theory, instead of localhost, you can write the local ip of the machine on which phpMyAdmin is installed. But this can only be done if both PCs are on the same local network.
Local ip can be found in several ways. If you have access to a machine with phpMyAdmin and it is on Windows, you can go to the command line and write ipconfig. From another computer, ip can be determined in one of the ways .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question