[CONC-142] Connection Delay Created: 2015-09-16  Updated: 2021-02-09

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 2.1
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Syed Ibrahim Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None
Environment:

C code on Windows 8.1 connecting to the database through an ADSL connection



 Description   

Using the C/C++ connector library (libmariadb.dll v.2.1.0) as a drop-in replacement for the MySQL C connector library (libmysql.dll v.6.1.6 x64) to connect to a MySQL database in the cloud, there is an unduly long lag during mysql_real_connect(), lasting for about twenty to thirty seconds, before the connection is established.

With libmysql.dll, the connection is almost immediate.

However, even with libmariadb.dll, once the connection is established, all other queries are executed without any lags whatsoever.

What could be causing this?



 Comments   
Comment by Syed Ibrahim [ 2015-10-07 ]

I've not been able to resolve this, and was wondering if anyone else have faced the same issue. Any input or advice would be appreciated.

Generated at Thu Feb 08 03:03:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.