Hello everyone!
I'm a C++ veteran (over 10+ years), but I'm extremely new to MySQL (< 2 days).
Right now I've been trying to get the MySQL connector for C++ set up and a simple project compiled and run. So far so good, except when I run my test program I get an error saying "LIBMYSQL.dll is not found".
This dll did not come with the connector, so I'm figuring that means I need to install MySQL on my machine? (but is this correct?)
Now before I go any further, I want to point out that (for the purposes of this test) I will not be accessing a database that's local to my machine. I'm trying to connect to an existing database I have on the web (where I already am successfully interfacing with it via PHP). So in my mind, it doesn't make sense to install MySQL on my machine because the database doesn't exist on my machine.
What's more, the program I'm ultimately going to write is going to be installed on everyone's computer here in the office. And it makes even less sense to me to install MySQL on all of those machines.
So what's the next step? How do I solve this error? Do I just bite the bullet and install MySQL on all machines? Or is that even the right assumption.... I mean is there some other lib I should get and install instead?
I appreciate any and all help you guys can give me! Thanks!
I'm a C++ veteran (over 10+ years), but I'm extremely new to MySQL (< 2 days).
Right now I've been trying to get the MySQL connector for C++ set up and a simple project compiled and run. So far so good, except when I run my test program I get an error saying "LIBMYSQL.dll is not found".
This dll did not come with the connector, so I'm figuring that means I need to install MySQL on my machine? (but is this correct?)
Now before I go any further, I want to point out that (for the purposes of this test) I will not be accessing a database that's local to my machine. I'm trying to connect to an existing database I have on the web (where I already am successfully interfacing with it via PHP). So in my mind, it doesn't make sense to install MySQL on my machine because the database doesn't exist on my machine.
What's more, the program I'm ultimately going to write is going to be installed on everyone's computer here in the office. And it makes even less sense to me to install MySQL on all of those machines.
So what's the next step? How do I solve this error? Do I just bite the bullet and install MySQL on all machines? Or is that even the right assumption.... I mean is there some other lib I should get and install instead?
I appreciate any and all help you guys can give me! Thanks!