0

I'm using software to access MySQL remotely. Can I connect to the database via https so the connection is safe?

For example, using a host of https://mydomain.com.

halfer
  • 19,824
  • 17
  • 99
  • 186
Vasil Atanasov
  • 165
  • 1
  • 2
  • 12

1 Answers1

1

HTTPS is for connecting to web servers, not database servers. See the following MySQL documentation:

Using SSL for Secure Connections

How you use this from an application will depend on the language and driver. See this question for how to do it using PHP with the MySQLi extension.

Community
  • 1
  • 1
Barmar
  • 741,623
  • 53
  • 500
  • 612