Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Read / Write Query timeouts

Read / Write Query timeouts

2007-07-04       - By Des Smith

 Back
Reply:     1     2  

I am using the set_option method on the Connection to set read/ write
and connect query timeouts.

I set these before I do the connect .

I'm also using the latest Mysql ++ which has a fix for pending options
to be applied before connection.        

When I set the read query timeout to 1 second , I'm seeing the query
wait about 10 seconds before returning.

Similarly when I set the query timeout to 10 seconds I see it take about
3-40 seconds to return.

Has anyone else seen this behaviour. Is there an explanation for it?



Thanks

Des Smith

******************************************************************************
This email and any files transmitted with it may be confidential and are
intended solely for the use of the
individual or entity to whom they are addressed.  If you have received this
email in error then please delete
it and notify the sender.  Do not make a copy or forward it to anyone.

This footnote also confirms that this email message has been swept for the
presence of computer viruses.

Adaptive Mobile Security Ltd, Dublin Technology Centre, Taylors Lane, Dublin 8,
Ireland
Directors: B Collins, L Burke (UK), G. Maclachlan (UK). J. Ennis (UK)
Registered in Ireland, Company No. 370343, VAT Reg.No.IE63903430

*****************************************************************************