Closed Thread
Results 1 to 4 of 4

Thread: Connecting to a remote access database

  1. #1
    mucalo is offline Newbie
    Join Date
    Apr 2009
    Posts
    2
    Rep Power
    0

    Connecting to a remote access database

    Hello everybody.

    I am trying to use PHP with a MS Access 2002 database. I have a database on one server and the PHP script on another. What must I have set up on the server in order to access the database?

    I tried it locally (having both of them on my PC) and the only thing I had to do was to add my Access database via services.msc as a service. However, I got lost when I had to upoad the script to one computer and the database to another.

    Furthermore, this is not really for this forum, but as I am here, I might as well ask... I also have to make a C# program that connects to this database, again from a distant computer. What is the connection string then?

    And what do I have to setup in my server where the database is to get the Access database accessible for other computers?

    Thanks in advance

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,478
    Blog Entries
    75
    Rep Power
    143

    Re: Connecting to a remote access database

    Have you tried using an ODBC connection?
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    mucalo is offline Newbie
    Join Date
    Apr 2009
    Posts
    2
    Rep Power
    0

    Re: Connecting to a remote access database

    Yes, I have. It's not a problem of my connecting code (I believe so), as the thing works when both the script and database are on my local comp.

    So I guess I have to change my connection string or set up the server in a certain way?

    Please tell me all things a server running an MS Access 2002 database has to have set up for the database to be visible for remote computers.

    Thanks.

  5. #4
    Join Date
    Jul 2006
    Posts
    16,478
    Blog Entries
    75
    Rep Power
    143

    Re: Connecting to a remote access database

    The ODBC has to be on the local computer. If you can get ODBC to connect to the remote computer, you should be in good shape.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Beginner Connecting to MYSQL Database!
    By Epatron in forum PHP Tutorials
    Replies: 7
    Last Post: 08-16-2011, 11:14 AM
  2. problem connecting to Access Database
    By system32 in forum PHP Development
    Replies: 0
    Last Post: 04-10-2010, 02:39 PM
  3. Need Help Connecting to a Database for Logins - VB6
    By Respected-SpyderZ in forum Visual Basic Programming
    Replies: 2
    Last Post: 07-30-2008, 03:11 AM
  4. Need a reliable web conference and remote access provider!!!
    By johnhome in forum Technology Ramble
    Replies: 1
    Last Post: 05-21-2008, 05:44 AM
  5. Connecting to a Database
    By reachpradeep in forum Java Help
    Replies: 3
    Last Post: 03-04-2007, 10:52 AM

Tags for this Thread

Bookmarks

Posting Permissions

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