You can start off with connecting a MySQL DB because setting up MySQL is pretty simple. Try this.
This seems like a simliar question. What I would suggest you is that learn basics of PHP, connecting to MySQL via PHP and read all your database contents and echo it as a JSON, your mobile client can use a JSON parser that would parse and give you valid information that was echoed from your PHP script.
For setting up Apache, MySQL , PHP you can go with MAMP for mac or if windows try WAMP server
I have done a small service with MAMP, just echoing a JSON to a client
<?php
// Returns: ["Apple","Banana","Pear"]
echo json_encode(array(fruit1=>"Apple", fruit2=>"Banana", fruit3=>"Pear",fruit4=>"JackFruit",fruit5=>"Guava",fruit6=>"Pomogrenate"));
?>
So instead of hardcoded values you should fetch results from your MySQL db and echo it.
<?php
$con=mysqli_connect("localhost or host name","username","password","databasename");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
$result = mysqli_query($con,"SELECT * FROM Persons");
while($row = mysqli_fetch_array($result))
{
echo json_encode(array(firstname=>$row['FirstName'],lastname=>$row['LastName']));
echo "<br />";
}
mysqli_close($con);
?>