I primarily develop PHP applications using MySQL as my database. Generally, the server running the application is on the same box as the MySQL server, though not always.
I was reading in the PHP docs about SSL support http://php.net/manual/en/ref.pdo-mysql.php and I'm left with these questions:
- With the application and database server being in the same (localhost) environment, is it necessary to connect to MySQL using SSL?
- Is the benefit of this for when you're accessing information between two servers (application server & a database server)?
- What are "best-practices" for using a PDO-SSL connection?
- Is it safe to assume that using an SSL certificate for the client/server connection has nothing to do with PDO's SSL connection?