[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. |