Using Denwer to work with a database in C++

Good time of day. Please tell me how to understand the process of linking a C++ application with Denwer.

I used to use Denwer for my other non-C++project. Connecting to the database and working with the database worked and works well.

Now I'm trying to do the same operation with my C++application. I have written all the code, connected the necessary libraries. But when you connect to the database in the logs error #2003 appears ("Can't connect to MySQL server on 'localhost' (10061)"). I'm thinking, maybe there is a missing application that would help in linking my application with Denwer?

Author: Zerxa, 2019-11-20

1 answers

A C# server does not require Denwer. You opened the port on the local host, didn't you? Install a separate database and connect to it. Or, even better, install OpenServer, it has several databases and admin panels for them, and there are also a couple of clients (programs) that you can run locally to work with the database.

 0
Author: Zerxa, 2019-11-20 22:29:36