mysql - Remote Database Access from a local computer? -


i'm creating program requires me access online mysql database local computer.

in cpanel there section says 'remote database access hosts' add local computers ip address in situation? remain constant, on years time, if same computer every time?

enter image description here

if you're trying access "local" computer meaning computer on intranet, find intranet ip computer. typically 192.168.1.101 or 101 maybe 102, 103, 104, etc. so, if router assigns ips 192.168.1.* domain, can add 192.168.1.% list , computers on intranet able access mysql database.

note: routers might need add 192.168.10.% or 10.0.0.%, depends on how router assigns internal ips.

if you're using windows, can open command prompt (go run->"cmd") , type "ipconfig"

use first 3 numbers default gateway , replace last % sign. example ipconfig run


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -