How on Earth to deploy a Delphi 2009 /2010 app that connects to a remote mysql using dbexpress? What files to include? Thanks
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need dbexpress driver for MySQL (dbxmys.dll), and MySQL client library which is a single DLL (libmySQL.dll).
In Delphi 2009, there is a bug (I’m not sure if it is fixed by any update), which makes you deploy dbxdrivers.ini and dbxconnections.ini files with your application too; otherwise you will get a runtime error on the target machine. There are a few workarounds for it like creating an in-memory connection manager in your code, which was mentioned in Marco Cantu’s Delphi 2009 Handbook.