Is it possible to use a remote MYSQL for your server?

Hello. I've managed to have a server fully working, although that was when using a local MYSQL database on my computer.

Is it possible to utilize a remote MYSQL database (from web hosts) instead, so users and all other stuff are loaded and saved onto it?

I tried doing that earlier today without succeeding, and I've made sure I've allowed my own IP on the remote MYSQL access configurations. Even tested the connection to it with a MYSQL script. But once I put those details in server.properties I can't get into my server.

On a side note, isn't Smogon's database stored online? How would the leaderboard be updated in real time if it wasn't?
 
Back
Top