Vasil Atanasov
Vasil Atanasov

Reputation: 227

Secure remote MySQL connection via https

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.

Upvotes: 0

Views: 393

Answers (1)

Barmar
Barmar

Reputation: 780949

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.

Upvotes: 1

Related Questions