Bug #31265 have_ssl variable not documented
Submitted: 28 Sep 2007 0:17 Modified: 13 Nov 2007 19:43
Reporter: Peter Laursen (Basic Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.0, 5.1, 6.0 OS:Windows
Assigned to: Paul DuBois CPU Architecture:Any

[28 Sep 2007 0:17] Peter Laursen
Description:
I cannot find any docs on the 'have_ssl' variable-
Using the manual search function finds nothing.

This
http://dev.mysql.com/doc/refman/5.0/en/secure-using-ssl.html
does not help either

How to repeat:
SHOW VARIABLES LIKE 'have%ssl';

On latest 5.0, 5.1 and  6.02

Variable_name  Value   
-------------  --------
have_openssl   DISABLED
have_ssl       DISABLED

On 4.1 only the latter.

Suggested fix:
It is critical for lots of applications that est the variabels before connecting if this new(?) variable having value = YES is required to establish SSL connections.

Though 'have_openssl' is misnamed today it should be kept and only this one should tell if SSL is enabled.  Or they should be synonyms (if they are not)!
[28 Sep 2007 0:18] Peter Laursen
On 4.1 only the first 

.. of course!
[28 Sep 2007 0:55] MySQL Verification Team
Thank you for the bug report.
[28 Sep 2007 7:46] Peter Laursen
please tell:

are they synonyms?
[9 Oct 2007 22:00] Peter Laursen
was allready (1 week before this post) reported here actually

http://bugs.mysql.com/bug.php?id=31138
[13 Nov 2007 19:43] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

have_ssl was added in 5.0.38/5.1.27. have_openssl now is an alias for it.