Results 1 to 4 of 4

Thread: Database

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Posts
    212

    Database

    I am going to have a MySQL database, I need to make it so that it updates itself against a server when it comes in contact with an internet connection. Is this possible to do?

  2. #2
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Database

    Yes, it is possible, but what do you mean by update itself?
    do you want to synchronise it to a remote database?
    If you can get the appropriate access to the remote database you could just download it and replace the local database, if that would suite your needs...

    Signatures suck

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2007
    Posts
    212

    Re: Database

    yes, but i need it to be automatic, what would i use to do that?

  4. #4
    Hyperactive Member cptHotkeys's Avatar
    Join Date
    Apr 2007
    Location
    New Zealand
    Posts
    294

    Re: Database

    Before you design the application you need to think of a couple of things.

    1: what protocols can you get access to download this database with, FTP? HTTP?, A safer way of doing this would be to let the server upload the file to the local comp, that way if more than one computer needs to be updated, thay can be done at the same time...
    2: Will this change in the future, IE you might want to consider giving the user the ability to set the URL to the database and the protocol in which to download it.
    3: What about security, user name/passwords?

    The web client control makes it stupidly easy to download a file...
    I have made a simple file downloader, which supports resume so I will upload that, or if you can read C#, I pretty much copied and converted it from a download manager article on the code project

    Signatures suck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width