The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    MySql/SQL program???

    Discussion in 'Windows OS and Software' started by Flavs83, Jan 11, 2007.

  1. Flavs83

    Flavs83 Notebook Guru

    Reputations:
    0
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    15
    Hello,

    I am wondering if there is any program that compile and run MySql/SQL in my computer like C++ (just running in my computer)? I want to play with SQL/MySql and php.

    Thank you in advance.
     
  2. Budding

    Budding Notebook Virtuoso

    Reputations:
    1,686
    Messages:
    3,982
    Likes Received:
    0
    Trophy Points:
    105
  3. andars05

    andars05 Notebook Guru

    Reputations:
    10
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    15
  4. Flavs83

    Flavs83 Notebook Guru

    Reputations:
    0
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    15
    Thanks for the replies. I meant by compile like a program that I can run and play with MySQL and php on my computer without having to buy a server. Does any those programs work like that? Meanwhile I will download and see if i can work it out.
     
  5. Arla

    Arla Notebook Deity

    Reputations:
    35
    Messages:
    1,073
    Likes Received:
    0
    Trophy Points:
    55
    Yes, you can install MySql on any PC and access databases and play around, I use C# for my work, just download SharpDevelop, MySql and then the .Net Data access program.
     
  6. Budding

    Budding Notebook Virtuoso

    Reputations:
    1,686
    Messages:
    3,982
    Likes Received:
    0
    Trophy Points:
    105
    Apache is the most popular free HTTP webserver. Just download and install that, then install MySQL and PHP and you will be able to create dynamic webpages on your local server.
     
  7. Jalf

    Jalf Comrade Santa

    Reputations:
    2,883
    Messages:
    3,468
    Likes Received:
    0
    Trophy Points:
    105
    Again, SQL isn't a programming language, and you can't make a SQL program.
    Typically you have a database server (such as MySQL) running somewhere (often it can run just fine on your local PC), and then your program (written in C++, PHP, Java or anything else) creates a connection to the database, and sends SQL commands to it. the program might be a regular .exe file you wrote in C++, or it may be a php program lying on a webserver waiting for a user to access it.

    Not sure what exactly you mean by "have to buy a server" though.
    If you're talking about a physical computer to act as your server, there's no need for that. The software doesn't care whether it's running on your notebook, your desktop, a server at some web hosting company, or your own dedicated server. You only need to place it on a physical server if you have some serious performance needs.

    The MySQL software is a database server though, and you will need one of those. (A server is just something that *serves* a bunch of clients. It doesn't have anything to do with physical hardware, although it may be convenient to place large servers on their own machine)
    The MySQL server software is free for most purposes though, so you won't need to buy that either.

    Since I assume you're going to use PHP for web development, you will need a web server too (which, again, is just software). And as said above, Apache is a free webserver which works very well with PHP and MySQL (which are also free)

    Hope that made sense. :)
     
  8. Flavs83

    Flavs83 Notebook Guru

    Reputations:
    0
    Messages:
    67
    Likes Received:
    0
    Trophy Points:
    15
    Thanks alot .. REP+ for all. Sorry for not being clear about buying, i meant getting a domain for it. Hopefully, I get to work and play with this weekend.
     
  9. Jalf

    Jalf Comrade Santa

    Reputations:
    2,883
    Messages:
    3,468
    Likes Received:
    0
    Trophy Points:
    105
    ooh, a domain. Right.
    (You know the domain isn't the same as hosting for it, right? The domain gives you permission to use a certain domain. You still need to have your site hosted somewhere, although a lot of hosts offer to buy the domain for you as well)

    But yeah, no need to get any of that until your website is ready.

    Anyway, good luck with it, and have fun :D