wodvpn works with mysql (wodVPN)

by Keroro, (6192 days ago)

dears:

i create a tunneling channel for forward connections from A to B use tcp.
then i use mysql-client to connect to A. but the mysql-client cann't create a connection throught the tunneling channel that created by wodVPN.

locked

Re: wodvpn works with mysql

by woddrazen @, (6192 days ago) @ Keroro

Hi Keroro,


Can you please give us more info about problem you have. Did you try using our samples?

I suppose you are connected between two peers. Which type of forwarding you are using: TCPLocalListen or TCPRemoteListen?

Can you please show us code snippet where you make tunnel between peers (wodVPN Add Method)?

Also please explain where is MySql database located (which peer) and from where you make tunnel.


Regards,
Drazen

locked

Re: wodvpn works with mysql

by Jasmine, (6192 days ago) @ woddrazen

Keroro,

what programming langauge do you use? This looks to me like threading issue - both wodVPN and Mysql client live in same thread, and mysql client blocks it.

If so, you can try to set Threads property to True

http://www.weonlydo.com/VPN/Help/WODVPNLib~wodVPN~Threads.html

Or, you can try to run wodVPN as external app. Does that make a difference?

Kreso

locked

Re: wodvpn works with mysql

by Keroro, (6191 days ago) @ Jasmine

C++:
Srv App: implement mediator and multi wodVPN components for accetp connections. work with mysql use mysql's c api.
Client App: want to connect to mysql throught tunneling channel. use tcplocallisten to add channel.

i try to use SetThreads after ur advance. now it did not block but mysql show me error msg when i call mysql_real_connect(mysql's api).

this msg is Lost connection to MySQL server at 'reading initial communication packet', system error:0

locked

Re: wodvpn works with mysql

by wodgrof @, (6191 days ago) @ Keroro

Keroro,

Could you please send us a code snippet so we could see how we can help? Please send it to techsupport@weonlydo.com.

Regards,
Grof

C++:
Srv App: implement mediator and multi wodVPN components for accetp connections. work with mysql use mysql's c api.
Client App: want to connect to mysql throught tunneling channel. use tcplocallisten to add channel.

i try to use SetThreads after ur advance. now it did not block but mysql show me error msg when i call mysql_real_connect(mysql's api).

this msg is Lost connection to MySQL server at 'reading initial communication packet', system error:0

locked