Bug 22649

Summary: encrypt() function not supported
Product: [Retired] Red Hat Linux Reporter: Kent Howard <redhat-bugs>
Component: mysqlAssignee: Patrick Macdonald <patrickm>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-01-03 10:51:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kent Howard 2000-12-21 07:42:07 UTC
encrypt() always returns NULL which according to the documentation means
that the crypt() function "is not available on your system".  The MySQL
RPMS from the MySQL authors also appears to exibit this problem.  However
the 3.22.32 RPMS from the authors works fine.

Comment 1 Trond Eivind Glomsrxd 2000-12-26 23:13:12 UTC
Confirmed. I'll be looking closer into it (but recommend PostgreSQL anyway :)

Comment 2 Trond Eivind Glomsrxd 2001-01-03 10:51:07 UTC
*** Bug 23180 has been marked as a duplicate of this bug. ***

Comment 3 Trond Eivind Glomsrxd 2001-01-08 23:29:45 UTC
This should be fixed in 3.23.30-1, available soon from Rawhide:

mysql> select encrypt("hello");
+------------------+
| encrypt("hello") |
+------------------+
| AmIN6keVM5zyk    |
+------------------+
1 row in set (0.00 sec)

mysql>