Hello. I have 2 raspberry PI that I program using python. Main raspberry PI has created mysql database using phpmyadmin and I can access it using localhost/phpmyadmin on the browser.
I put some information there and I want to be able to read/write and do other operations with the information on my secondary Raspberry PI.
Both Raspberry PI's are connected to the same network, however, I cannot access the mysql database on my 2nd PI by trying to connect to the IP address of the first Raspberry PI
For example, the Raspberry PI ip address that is hosting MYSQL database is 192.168.61.170
On my secondary raspberry PI, I am trying to connect in browser : 192.168.61.170/phpmyadmin but it says that it is unreachable.
Why would that be the case if we are both on the same network? Do I need to change some settings?
Keep in mind that I do not want to accept external connections (outside the network) since that would cause some safety problems, I just want to acccept all connections that come from the same network
I put some information there and I want to be able to read/write and do other operations with the information on my secondary Raspberry PI.
Both Raspberry PI's are connected to the same network, however, I cannot access the mysql database on my 2nd PI by trying to connect to the IP address of the first Raspberry PI
For example, the Raspberry PI ip address that is hosting MYSQL database is 192.168.61.170
On my secondary raspberry PI, I am trying to connect in browser : 192.168.61.170/phpmyadmin but it says that it is unreachable.
Why would that be the case if we are both on the same network? Do I need to change some settings?
Keep in mind that I do not want to accept external connections (outside the network) since that would cause some safety problems, I just want to acccept all connections that come from the same network
Last edited: