简体   繁体   中英

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 .

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM