+ Reply to Thread
Results 1 to 4 of 4

Thread: Connecting to a remote access database

  1. #1
    Newbie mucalo is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    2

    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. #2
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,698
    Blog Entries
    57

    Re: Connecting to a remote access database

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

  3. #3
    Newbie mucalo is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    2

    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.

  4. #4
    Super Moderator WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther has much to be proud of WingedPanther's Avatar
    Join Date
    Jul 2006
    Age
    36
    Posts
    11,698
    Blog Entries
    57

    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.
    CodeCall Blog | CodeCall Wiki | Shareware
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. uploading database records in the access database in vb.net
    By Diana86 in forum Visual Basic Programming
    Replies: 0
    Last Post: 11-21-2008, 12:50 AM
  2. How can i connect access database to vb.net
    By Charbz in forum Visual Basic Programming
    Replies: 4
    Last Post: 11-20-2008, 07:08 AM
  3. Server Security
    By kresh7 in forum Security Tutorials
    Replies: 0
    Last Post: 10-09-2008, 06:25 PM
  4. Need Help Connecting to a Database for Logins - VB6
    By Respected-SpyderZ in forum Visual Basic Programming
    Replies: 2
    Last Post: 07-30-2008, 05:11 AM
  5. Retrieving Access Database
    By tigger in forum Visual Basic Programming
    Replies: 0
    Last Post: 07-06-2007, 12:27 AM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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