Connecting Tech Pros Worldwide Help | Site Map

need help on MySQL error:1289(--openssl missing)

Newbie
 
Join Date: Sep 2006
Location: Mumbai
Posts: 18
#1: Dec 6 '06
Hi friends,

I am using MySQL 5.0.24a on Linux.

When I try to use des_encrypt() function, I am getting the warning like des_encrypt() is disabled and You need MySQL built with '--with-openssl' to have it working.

To be specific, Output is

Error (Code 1289): The 'des_encrypt' feature is disabled; you need MySQL built with '--with-openssl' to have it working.

can u please help me out, how to resolve this problem.

Thanks in advance


regards
sarma
sashi's Avatar
Expert
 
Join Date: Jun 2006
Location: Seremban, Malaysia
Posts: 1,630
#2: Dec 6 '06

re: need help on MySQL error:1289(--openssl missing)


Quote:

Originally Posted by sarma

Hi friends,

I am using MySQL 5.0.24a on Linux.

When I try to use des_encrypt() function, I am getting the warning like des_encrypt() is disabled and You need MySQL built with '--with-openssl' to have it working.

To be specific, Output is

Error (Code 1289): The 'des_encrypt' feature is disabled; you need MySQL built with '--with-openssl' to have it working.

can u please help me out, how to resolve this problem.

Thanks in advance


regards
sarma

Hi there,

This error means that you need to re-compile your mysql server with openssl feature enable. Please check out more details at MYSQL site, hope it helps. Good luck & Take care.
Newbie
 
Join Date: Sep 2006
Location: Mumbai
Posts: 18
#3: Dec 7 '06

re: need help on MySQL error:1289(--openssl missing)


Quote:

Originally Posted by sashi

Hi there,

This error means that you need to re-compile your mysql server with openssl feature enable. Please check out more details at MYSQL site, hope it helps. Good luck & Take care.


Thanks shashi.

I re-compiled with --openssl option and encountered same error. So I decided to use aes_encrypt() and aes_decrypt() functions instead of des_encrypt() and des_decrypt().

Anyways thanks shashi.

regards
sarma
Reply