Hello @ Lakshminarayanan,
Yes, It is possible to setup SSL for domain name in MYSQL database.
By default, MySQL is configured to only accept local connections. If you need to allow remote connections, it is important to do so securely.
So here is the demonstrate to configure MySQL on Ubuntu 16.04 to accept remote connections with SSL/TLS encryption.
Hope it is helpfull to you!!
Thanks!!