How do I connect to a database on other computer using ODBC connection?
Let say, I have a MachineA (Client) and MachineB (Server, where I store the Database). I already share (Set to Everyone: Read/Write) the folder and able to access to the folder from MachineA via Mapped Network Drive.
I already try:
using Mapped Network Drive: z:\DIVA-PC\database.mdb, got an error when connecting to database (invalid path).
'(unknown)' isn't a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
using UNC Path, when selecting Database Name: \DIVA-PC\database.mdb, but got an error (you don't have permission to open this location)
I'm using:
- XAMPP
- Ms.Access Database
- PHP odbc_connect("DSN name", "username", "password);