I am currently using Firebase to store the data generated in Android. My intention is to change Firebase for a local Mysql database that I would have in a computer that would serve as a server. My question is, is there an API to make this connection and not have to do everything by hand?
If not, what would be better to use to secure connections, SSH or Apache connections?