2

I'm currently doing a Capstone project and I need to establish a secure connection between PHP and MySQL. Is it there some kind of method ?

3
  • This depends on what you mean by "secure", what you mean by "connection" and what you mean by "between". Do you mean to create an encrypted connection between a web server running PHP and a database server running MySQL? Commented Oct 1, 2011 at 23:30
  • @ChrisBrowne, yeah create an encrypted connection between a web server running PHP and the database running mysql Commented Oct 2, 2011 at 0:22
  • my naive solution would be to set up an SSH tunnel as I'm not aware of MySQL supporting encrypted connections natively, but I'm probably not the right person to ask. Still, if it helps - an SSH tunnel would provide an encrypted channel for your MySQL data. Commented Oct 2, 2011 at 0:25

1 Answer 1

4

You can use SSL to connect to MySQl. This specifics of this varies based on your platform.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.