Page 1 of 1
How can i connect to Mysql using hash instead of password?
Posted: Mon Nov 08, 2004 9:42 am
by dimitris
I want to write a connect script which will use an encrypted password for connecting to the db! I am intending to use md5 for encryption!
Any ideas?
Thanks in advance!
Re: How can i connect to Mysql using hash instead of passwor
Posted: Mon Nov 08, 2004 10:36 am
by Weirdan
dimitris wrote:I want to write a connect script which will use an encrypted password for connecting to the db! I am intending to use md5 for encryption!
Any ideas?
Simple answer: you can't. Instead you might wan't to look into MySQL's ability to use SSL certificates for authentication and encryption:
http://dev.mysql.com/doc/mysql/en/Secure_GRANT.html
Re: How can i connect to Mysql using hash instead of passwor
Posted: Mon Nov 08, 2004 3:57 pm
by dimitris
Ok Weirdan! Thanks! I try SSL.
Weirdan wrote:dimitris wrote:I want to write a connect script which will use an encrypted password for connecting to the db! I am intending to use md5 for encryption!
Any ideas?
Simple answer: you can't. Instead you might wan't to look into MySQL's ability to use SSL certificates for authentication and encryption:
http://dev.mysql.com/doc/mysql/en/Secure_GRANT.html