How to connect to an Access database remotely? - ms-access

I tried to connect with ODBC, and after the ODBC configuration was successful, the way you added external data using the local Access database could not be connected successfully.                                   
Error message:odbc--call failed
[ODBC Driver Manager]The architecture mismatch between the driver and the application in the specified DSN(#0).
The local computer is installed with 64-bit access 2016,The remote computer is installed with 32-bit access 2010.
How to solve, thank you very much!

You can't do that. It is beyond the scope of Access which is intended to connect/link via a LAN.
You may be able to link those remote table, but that will only work via a very reliable and high-speed connection like a 100/100 fibre WAN.

Related

Azure Data Factory - connect to onprem accdb

I need to retrieve data from Access onprem database by using adf. I have integration runtime installed on azure vm. Access database is on the other virtual machine. I know that on the azure virtual machine I should have a path to that Access database but how to do that?
I know that on the azure virtual machine I should have a path to that Access database but how to do that?
To connect on-premises Access database with Data factory you need to install SHIR on that particular Virtual Machine. Only for port 443 outbound traffic. This may be open by default.
The Integration Runtime Machine needs to have the Microsoft Access ODBC driver installed for the data storage.
Microsoft Access 2016 version of ODBC driver doesn't work with this connector. Use Microsoft Access 2013 or 2010 version of ODBC driver instead.
In linked service select that particular SHIR hosted on that particular Virtual Machine.
Provide correct values to the linked service properties like connectionString, authenticationType.
Reference- Copy data from and to Microsoft Access using Azure Data Factory follow this official document.

Azure Managed SQL - ODBC Drivers

I have an Azure Managed SQL instance that I would like to use to connect to a MySQL server via a linked server used ODBC. I have tried and this keeps telling me I do not have the driver installed or the data source doesn't exist.
Is this because it expects this to be installed on the Azure machine hosting the server? I have seen mentions of people setting up an Azure VM to connect to the machine and install drivers / setup ODBC. Is this correct?
Can someone please either tell me how to connect to ODBC using DSN from my PC, or confirm if the error is due to the VM requirement
For reference, I have followed numerous guides and still have the same issue
Thanks in advance

Report "Cannot Open Connection" on other machines

My application generates a report, which pulls data from a mySQL server. It works fine on my machine but other machines could not find the runtime. After installing it, I get an error that it cannot open the connection on that other machine.
Do I have to install the ODBC runtime and add the connection to ODBC on every single machine I want to install my application on? Or is there a better way?
If you are using OBDC connection then:
1. You need to set up the connection again in other machine by using administrative tools, in addition too.. install odbc driver also.
2. Connection name can be the same with your local machine so that you don't need to update the connection name on your crystal report.
3. if you are using a hard code connection to your crystal report upon logging in then you need to open your project of course to update the connection.
Good luck.

Access local MySQL database via LAN through Visual C++ DLL

I'm writing a wrapper for a local MySQL database. So far, I've made a Visual C++ DLL that opens a connection to the database from the local computer using MySQL's C connector. How can I extend the DLL to access the database remotely through a LAN connection?
it is the same concept, but you need to enable remote access on your remote database. This is not really safe if you are doing it over public connection.
http://www.cyberciti.biz/tips/how-do-i-enable-remote-access-to-mysql-database-server.html

ODBC connection to MS-Access on Ubuntu

One of our employees created a Microsoft Access Database and has built a Joomla! module around it. It is currently running on a WAMP server, with an ODBC connection to the accdb file.
How can I create an ODBC connection on Ubuntu for the Access database?
At this point, I'm open to having the DB live locally on my Ubuntu server, or on an SMB share somewhere.
Moving it from Access to MySql has already been proposed. It may come down to that, but I'm really being pressured to find another option.
Does anyone know if this is possible and how to accomplish it?
I'm sorry if this question has already been asked; I truly did look for it already, but couldn't find anything specific to connecting Access via ODBC on Linux.
I'm not entirely sure I understand the use case here, but here are a few thoughts:
Access databases are file-based databases and therefore server-less.
This means that the database file itself can reside on a local Windows machine, a windows network share or a SMB share on a linux box.
However, the application that queries the database must have access to the necessary drivers to manipulate the database.
On Windows, this is not an issue: All Windows version come pre-installed with the Jet drivers for the old .mdb format.
For the new .accdb format, you must have one of MSOffice 2007/2010/2013, Access 2007/2010/2013, Access Runtime 2007/2010/2013 or the standalone ACE driver installed to be able to use the new database format.
On Linux, the mdbtools package provides some degree of compatibility with the .mdb file format, allowing such a database to be queried and modified by a Linux application directly.
Another Open Source library (java) for manipulating (.mdb and .accdb) databases is jackcess.
ODBC drivers for Linux exist, but as far as I know, they are commercial and can be fairly expensive, see the easysoft Access ODBC Driver.
See also this SO question: Connecting to access database from linux
Basically, if you are looking for an easy solution that would be Open Source, going to MySQL or using a local SQLite database will be a lot more workable on Linux.