Connect via PHP Tunnel

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
savari
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 06.05.2010, 14:23

Connect via PHP Tunnel

Post by savari »

Hi,

Help me please, how to connect to mysql database on the server with ip restrictions (use php-tunnel). What ZeosLib can do this?

Thanks...
trupka
Expert Boarder
Expert Boarder
Posts: 140
Joined: 26.08.2007, 22:10

Post by trupka »

Hi,
If you mean ssh tunnel with php, all you need to do is to setup port forwarding and connect ZConnection to local (forwarded) TCP port. From ZEOS point of view, there is not difference between forwarded port to database and "direct". This is networking problem.
Post Reply