Reputation: 31
Im having trouble using the MySQL ODBC connector. I have a MS access frontend that im trying to connect to a MySQL DB. It connects fine when running the frontend and DB on my dev machine. I have moved the front end and DB onto the clients server. The clients assess the fornt end via a shared folder on the individual user PCs. I have set up a file DSN ODBC connection as below. When i open the front end on one of the clients PCs i get the ODBC--call failed. How do i get the linked tables to look at the server MySQL DB considering ms access is not installed on the server. I have tried to set uo the file DSN via the users pc i.e. open linked table manager and open the File DSN get the ODBC--call failed on connect.
File DSN set up
[ODBC]
DRIVER=MySQL ODBC 5.3 Unicode Driver
UID=root
PASSWORD=root
DFLT_BIGINT_BIND_STR=1
PORT=3306
DATABASE=productionlist_be
SERVER=localhost
thanks in advance Kelly
Upvotes: 0
Views: 3359
Reputation: 5917
Welcome to stack-overflow Kelly.
You are missing few points.
Only after setting up all this, you can think about distributing your application to your clients.
Modify your File DSN replace the localhost with the MySQL Database server ip like
SERVER=SERVER_NAME_OR_IP
Also it is best to refresh the odbc links via VBA code you will find much help here: How do you programmatically update a linked table in Access that will refresh data types too?
OR Relinking database tables: Access, VBA
hope this helps to get started :)
Upvotes: 1