I am currently working on a localhost database and I am moving everything online so I am looking for a reliable database where it can be used where ever I host my website. So I was looking into cloud databases and everything looks pretty expensive from what I am looking for except of SQL Azure.
RDS comes to 75 dollars per month the smallest instance, Xeround comes to a limit of 20 connections for the basic database and the next goes up to 75 dollars. So it is not that reliable.
I decided to move to SQL Azure because of the 3 months free so I could try them out but I figured out they do not support by default MySQL (? Correct me if I'm wrong). I am a total beginner in database and such so I just know all the basic stuff.
So I was wondering, if I want to select all the users in my database, with MySQL I do this:
$query = mysql_query("SELECT * FROM `users` WHERE id = '$uid'") or die(mysql_error());
$result = mysql_fetch_array($query);
Is it different with SQL Azure? Do I have to learn something completely new? I found many articles and tutorials on how to migrate from one another but none tutorials actually say if and how to change my php code of which connects with my database.
If there is any other service of hosting MySQL on the cloud please let me know