MySQL database connection with help of SSH tunneling

Discussion in 'PHP' started by yusufeen, Jul 9, 2008.

  1. #1
    Hello All,

    I would like to connect MySQL database from PHP, with help of SSH tunneling. I suppose/want to use "ssh2_connect" and "ssh2_..." sets of commands.

    Queries are that can I use these sets of command for this purpose, and if yes how can I do that.

    Thanks in advance.

    Regards,
     
    yusufeen, Jul 9, 2008 IP
  2. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #2
    Vooler, Jul 9, 2008 IP
  3. jg_abad

    jg_abad Peon

    Messages:
    903
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi yusufeen,
    I have done some search for your query and here i found some information regarding to your query.

    http://www.navicat.com/ssh_tunnel.php
    http://www.phpbuilder.com/columns/kenlin20040702.php3
    http://www.codemastershawn.com/library/tutorial/ssh.tunnel.php

    Discussion going on here for the same problem, hope it will help a bit
    http://bytes.com/forum/thread12904.html

    I am not PHP expert, but i have find this information by search engine, let me know if you need any other help from my side.

    all d best
     
    jg_abad, Jul 9, 2008 IP
  4. yusufeen

    yusufeen Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This is same kind of issues as I have.
     
    yusufeen, Jul 10, 2008 IP