1

Hii,

Is it possible to use mysql_connect() behind a proxy server. I am trying to connect to an external db, which basically is on my hosting servers. I am behind my university proxy.

hakre
  • 193,403
  • 52
  • 435
  • 836
Krishna Deepak
  • 1,735
  • 2
  • 20
  • 31
  • 2
    Are you also sure that your hosting provider allows remote mysql connections? As far as I recall, that's uncommon. – Michael Berkowski Jun 05 '11 at 12:34
  • Do you know which port-ranges are available to you via the proxy and can you say if remote connections of your webhost for mysql are accepted? – hakre Jun 05 '11 at 12:45
  • yes it allows. Previously I used to work from home and everything was fine. I came to college as my vacation was over. my proxy is localhost:8888 – Krishna Deepak Jun 05 '11 at 12:45

1 Answers1

1

FWIK and according to the answer in mysql proxy socks, mysql does not offer support to connect via proxies. See the linked answer how you can go around this.

Community
  • 1
  • 1
hakre
  • 193,403
  • 52
  • 435
  • 836