From: Michael Widenius Date: March 28 1999 8:02pm Subject: Win32 libmysql.dll password issue List-Archive: http://lists.mysql.com/win32/47 Message-Id: <14078.35435.921961.73625@monty.pp.sci.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit >>>>> "Dennis" == =?iso-8859-1?Q?Dennis Thrys=F8e?= writes: Dennis> Hi, Dennis> A few questions related to password storage. Dennis> Is there (or could there be made) any way to give an Dennis> encrypted password to the mysql_connect function? Why? The password will not be sent in clear text to the MySQL server. (If you don't want to store a clear text password in your client, you must modify the libmysql.c function and recompile) Dennis> Just as mysql stores the passwords encrypted in Dennis> the 'mysql' database, I'd like to store and give Dennis> this very password to the connect function. Dennis> Also, is there any way to get the client executable to Dennis> calculate this hashed password from what the user Dennis> enters? I would like to do this when _not_ connected. All MySQL clients already does that. Regards, Monty