omnibill 0 Posted January 12, 2023 I am using CBuilder 11.2 IDE. I am trying to connect to a Mysql database using dbExpress. I get the same error with my program and also using Data Explorer. The error is: DBX Error Client library may be missing. I found the file LibMySQL.dll was missing from my computer. I downloaded it but there is no change. There must be something missing in the IDE for the Data Explorer to not be working. Is there something else I need to install. Share this post Link to post
weirdo12 19 Posted January 13, 2023 Why are you using dbExpress? Is it an existing application that worked properly with another version of C++Builder? 1 Share this post Link to post
Serge_G 87 Posted January 13, 2023 11 hours ago, omnibill said: I found the file LibMySQL.dll was missing from my computer. I downloaded it but there is no change. You need 32bit version for the IDE Share this post Link to post
omnibill 0 Posted January 13, 2023 There is no reason I have to use dbExpress. FireDac does not seem to work either in DataExporer. I have an existing VCL program that I need to add the ability to upload a new record to a MySql database. I downloaded the 32 bit version of LibMySQL.dll it is version 6.1. Maybe I need an older version. Share this post Link to post
omnibill 0 Posted January 15, 2023 I solved the problem by using FireDAC. The LibMySQL.dll I have will work with FireDAC. I just need to have a MySQL database that allows a connection from a remote computer. I am now using google for testing. The only thing with google it requires you to give them your IP address in order to be let in. Not a good solution for my customer since the IP address can change. Share this post Link to post
aehimself 396 Posted January 15, 2023 1 hour ago, omnibill said: I just need to have a MySQL database that allows a connection from a remote computer. Using % as a host will allow all source IP addresses afaik. Check if you can set it, but it's a security risk, so be warned... Share this post Link to post
weirdo12 19 Posted January 16, 2023 21 hours ago, omnibill said: I solved the problem by using FireDAC. Excellent! Share this post Link to post