How to fix “bad_alloc” error when connecting to MySQL database using C++ connector?
I’m facing an issue when executing my C++ project on Windows. I use CMake to compile my project and I’ve managed to compile it without any errors. However, when I try to execute it, I encounter an “aborted()” error with no further details.