Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7643917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:33:48+00:00 2026-05-31T09:33:48+00:00

I am currently working on a localhost database and I am moving everything online

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T09:33:49+00:00Added an answer on May 31, 2026 at 9:33 am

    MySQL and SQL Azure are different enough that you will need to change some/most of your queries, but not by much if your queries are simple enough. I am by no means a PHP/MySQL developer, but the SQL code you are presenting is close to working in SQL Azure.

    Take a look at this article that explains how to connect to a SQL Server database (note: there are differences between SQL Server and SQL Azure, but I would start there first – at the risk of over simplifying things, think of SQL Azure as a subset of SQL Server). Here is another link that shows how to connect to SQL Azure using PHP specifically.

    So to answer your question, I would say that you certainly would have to learn new things if you were to go this route. But learning is fun! 🙂 Perhaps one of the things to understand about SQL Azure is its architecture and throttling behavior. First, take a look at this TechNet article that explains how SQL Azure works.

    Here is a more technical article about SQL Azure that goes into throttling and performance considerations if you think your database is being heavily utilized. I highly recommend you absorb this before jumping both feet in SQL Azure. It will save you some time later.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been working on creating a form that submits content into my database but
I have a simple website on localhost at the moment. I am working on
I want to save my currently database on localhost to file. I am trying
Working on integrating the like button into a site. The site is currently running
Currently working in the deployment of an OFBiz based ERP, we've come to the
Currently working on a VBScript to automate some of the dirty PST ingestion work
I currently working on an issue tracker for my company to help them keep
Am currently working on an application that requires users to submit posts and comments
I`m currently working out the design for simple graphic editor, who support trivial operations
Im currently working with an API which requires we send our collection details in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.