CodeIgniter: Encrypt communication between app and mysql db on different servers?
-
01-10-2019 - |
Question
Can anyone tell me the best way to encrypt data between a CI application and a MySQL db hosted on separate servers. SSH tunnel? If so, has anyone gotten this working using CI? Code examples and/or links are welcome.
Solution
MySQL supports SSL natively. See: http://dev.mysql.com/doc/refman/5.1/en/secure-connections.html
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow