PDA

View Full Version : MySQL connect with ssl


dm12dm
12-05-2005, 03:37 PM
Hi

I was wondering if anyone knew when it is appropriate to use ssl to connect to a mysql database, as I do understand the need for it. Currently, I have a dedicated server that uses ssl to transmit a webpage securely. But I don't see why information should be encrypted from the mysql server to apache and then encrypted again as the page is served to someone. I don't know if I am making any sense, but if anyone can help me understand this a little better, it would be greatly appreciated.

Thanks
-DM

Velox Letum
12-06-2005, 01:56 AM
On websites where the MySQL server is on the same server, it usually isn't too much of a problem provided someone didn't setup a tcpdump on the MySQL port, but over networks especially it can make data vulnerable to spying, thus using SSL to protect that data in transit. If it's really sensitive data, I'd suggest an SSL connection to MySQL.