Setting up http connection to database for leader board

Have a mysql database set up on a azure server that i want to use as leader board for a game and find any tutorials of usful information on how i would go about setting up the connection and sending data to the database?

anything ive looked at has just lead me to a dead end? can someone who has done this before point me in right direction or provide some sample code to get me started

Thanks in advance