Connecting via HTTP tunnel by PHP - libmysql.dll error
The same problem
We also have this problem. You know when will be the new version?
Hi!
I found one more problem.
When I try to run this query:
"select id from mytable where parent_id = 1 and lang_id = 1 order by id desc limit 1"
I get this error message:
"Lost connection to MySQL server during query
Invalid tunneling script parameter: 830 and lang_id = 1 order by id desc limit 1"
When I cut "limit 1" at the end of the query string - everything is OK.
This problem exists only if I use PHP tunnel.
I found one more problem.
When I try to run this query:
"select id from mytable where parent_id = 1 and lang_id = 1 order by id desc limit 1"
I get this error message:
"Lost connection to MySQL server during query
Invalid tunneling script parameter: 830 and lang_id = 1 order by id desc limit 1"
When I cut "limit 1" at the end of the query string - everything is OK.
This problem exists only if I use PHP tunnel.
Works slowly...
Hi Dimon!
When I'm connecting using PHP tunnel every query seems to work slower than without tunnel (for example, if I connect using putty - plink ssh tunnel).
In particular, operations such as "update" and "insert".
"Select" works slower but well enough.
What could be the reason?
When I'm connecting using PHP tunnel every query seems to work slower than without tunnel (for example, if I connect using putty - plink ssh tunnel).
In particular, operations such as "update" and "insert".
"Select" works slower but well enough.
What could be the reason?
This behavior is connected with the work of the PHP tunnel, that receives HTTP data, unwrap it and resends it to a MySQL server. Speed of work is determined by PHP.
You can create a secure connection to MySQL server via SSH/SSL you should use the TMySSHIOHandler/TMySSLIOHandler component and SecureBridge components.
You can create a secure connection to MySQL server via SSH/SSL you should use the TMySSHIOHandler/TMySSLIOHandler component and SecureBridge components.