title: MySQL ENCRYPT password but how to DECRYPT?
body: <p>I am going through this tutorial and I am using the ENCRYPT MySQL function.</p>
  
  <p><a href="http://www.pixelinx.com/2010/10/creating-a-mail-server-on-ubuntu-using-postfix-courier-ssltls-spamassassin-clamav-and-amavis/" rel="nofollow noreferrer">http://www.pixelinx.com/2010/10/creating-a-mail-server-on-ubuntu-using-postfix-courier-ssltls-spamassassin-clamav-and-amavis/</a></p>
  
  <p>But now I have the problem of how to decrypt the encrypted password in MySQL or in php? I want to compare if the password entered is the same as the encrypted one.</p>
  
  <p>How can I compare it? MySQL must be encrypted with the ENCRYPT function!</p>
  
  <p>I am searching but I can not find anything how to decrypt the ENCRYPT MySQL function...</p>