Connecting to database in different server

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Connecting to database in different server

    Hi all,

    I just installed Cold Fusion Developer edition in my PC, and I was wondering
    whether I can connect it to an Access database that resides in my ISP's server.
    Is this possible? If so, how?

    Much appreciate your help.

    LMC

    MCL97 Guest

  2. Similar Questions and Discussions

    1. connecting to the database on yahoo server
      My hosting service is Yahoo. I created a database on the server and tried to connect to it in Dreamweaver. When I went to connect it gave me an...
    2. connecting Access database on local apache server
      I have coldfusion installed as a multiserver configuration running on both Apache and IIS. Is it possible to use coldfusion MX7 to connect to an...
    3. Connecting to remote database on separate server
      I was wondering if any of you could explain how to connect to a database that sits on a different server than the site? Is it possible to connect...
    4. Connecting to database
      I want to start using our Oracle 9i database on a Solaris server. Our Cold Fusion MX is located on our Windows 2000 server. Please advise...
    5. connecting to a database (with no web server)
      Is this practicable? I observed that in the connect function we must specified the host. What if there is not web server? -- Posted via...
  3. #2

    Default Re: Connecting to database in different server

    On 2005-05-05 12:15:56 -0500, "MCL97" <webforumsuser@macromedia.com> said:
    > Hi all,
    >
    > I just installed Cold Fusion Developer edition in my PC, and I was
    > wondering whether I can connect it to an Access database that resides
    > in my ISP's server. Is this possible? If so, how?
    >
    > Much appreciate your help.
    >
    > LMC
    Since Access is a file-based database instead of a true database
    server, there's no real way to do this (that I know of anyway) unless
    your ISP lets you create a mapped drive to their server. If the CF
    server sees the drive as local *and* has the appropriate permissions
    (which by default it wouldn't since it runs as the "System" user), then
    you might have a shot at getting this working.

    Matt
    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion

    mpwoodward *TMM* Guest

  4. #3

    Default Re: Connecting to database in different server

    Thanks for the answer. Would it make any difference if I use MySQL instead of Access?

    Regards,
    LMC
    MCL97 Guest

  5. #4

    Default Re: Connecting to database in different server

    MySQL is a server database, not a file-based program. As long as your ISP allows connections to the DB server from outside their network, you should be able to connect easily.
    cf_menace Guest

  6. #5

    Default Re: Connecting to database in different server

    On 2005-05-05 14:34:09 -0500, "MCL97" <webforumsuser@macromedia.com> said:
    > Thanks for the answer. Would it make any difference if I use MySQL
    > instead of Access?
    Absolutely--MySQL is a true database server like SQL Server, Oracle,
    etc. (at least from the perspective we're talking about here; I don't
    want this to turn into a database war!) as opposed to a file-based
    setup like Access. That means if you have MySQL running on a different
    server you can connect directly to the database server by setting up a
    datasource in the CF administrator. Database servers like this are
    designed to handle multiple connections coming from outside sources.

    Matt
    --
    Matt Woodward
    [email]mpwoodward@gmail.com[/email]
    Team Macromedia - ColdFusion

    mpwoodward *TMM* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139