I've loaded MySQL++ and built the resetdb program successfully. When I
try to run it, I get the following error:
Unhandled exception at 0x7c81eb33 in resetdb.exe: Microsoft C++
exception: std::bad_alloc at memory location 0x0012ebb8..
The error is happening in the connect section of resetdb, the code is
// Database doesn't exist yet, so create and select it.
if *(con.create_db(kpcSampleDatabase)* && // *I think this
is the line that throws the error.*
* * con.select_db(kpcSampleDatabase)) { **
new_db = true;
}
Can anyone offer a suggestion?