Mon Dec 12, 2016 10:19 am
We cannot answer a question with siuch little information given.
What was the "some error" you got?
Do you have MySql installed.?
Have you configured it in any way?
Can you do basic things like make SQL queries from the command line?
Memory in C++ is a leaky abstraction .