I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Discussion of open issues, suggestions and bugs regarding database management and administration tools for MySQL
Post Reply
AdalDiaz2
Posts: 3
Joined: Fri 04 Sep 2015 16:07

I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Post by AdalDiaz2 » Fri 04 Sep 2015 17:16

it is hosted by ipage.com

My tunnel script is http://adaldiaz.hn/MySQL/tunnel.php
a info page can be found at: http://adaldiaz.hn/info.php

Error screen:
Image

A php script runs querys to MySQL and everything works, so the tunnel script should connect to MySQL but something is not working, i tried to do this same thing with the Navicat DB Manager and works, it does Http, SSL Tunneling.. All OK BUT I PREFER DBFORGE!!! i dont like Navicat, so please! can anybody help me?

alexa

Re: I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Post by alexa » Mon 07 Sep 2015 11:16

Could you please provide us a screenshot of the 'General' tab of the 'Database Connection Properties' dialog box that can be invoked by right-clicking the connection in Database Explorer and selecting 'Modify Connection...' from the popup menu?

Please also see the following article http://blog.devart.com/using-http-tunneling.html

You can send a reply straight to our support system at supportATdevartDOTcom

AdalDiaz2
Posts: 3
Joined: Fri 04 Sep 2015 16:07

Re: I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Post by AdalDiaz2 » Mon 07 Sep 2015 16:40

Hello, thanks for answer... i believe is possible to connect but the script may not work with this hosting (ipage.com), i checked a log file created with the script named "httptunnel_server.log" and contains this:

04.09.2015 15:34:29 - Connection entry not found.
04.09.2015 15:34:29 - stream_socket_server() failed: reason:0 Permission denied
04.09.2015 15:34:34 - Failed to create client socket

maybe some method or function is not allowed, here is the screenshot that you requested:
Image

so alexa, if you think you can help me, i can provide you credentials to access... i have tried a lot, i dont know what else to do... :D

alexa

Re: I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Post by alexa » Tue 08 Sep 2015 10:36

The provider of the host services appears to have forbidden using the PHP function stream_socket_server() on its servers.

We recommend you to contact them in order to remove this restriction.

AdalDiaz2
Posts: 3
Joined: Fri 04 Sep 2015 16:07

Re: I Can´t Connect to a Remote MySQL Server by HTTP Tunneling

Post by AdalDiaz2 » Wed 09 Sep 2015 20:39

You're right, the function is not being allowed, the hosting support doesn't accept to change the permission by some reason, so im going to migrate to another hosting, this time i will make sure that function be allowed.

Thank you so much by your help, i hope this topic be useful to help another people :)

Post Reply