MySQL Forums
Forum List  »  PHP

How to store password for mysql_connect()
Posted by: oliver.block
Date: April 19, 2006 05:58PM

Hello,

when you write a php script which contains a mysql_connect statement, you can pass a password as parameter. One could save the password in the script, but is it possible to save it in encrypted form?

I know, that you can use IDENTIFIED BY PASSWORD whith the GRANT statement (in SQL). Is something similar possible for php/mysql_connect? Or does mysql encrypt the encrypted password in such cases?

Best regards,

Oliver

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.