Hey Fellow Coders,

I am trying to get this -->http://blog.ulf-wendel.de/?p=215
to run.

I was able to get my code to compile.

However, it seems that my code crashes every time in 1 spot and I have no idea why.

Here is the code snippet where it crashes.

try {
sql:river *driver;
sql::Connection *con;
sql::Statement *stmt;
sql::ResultSet *res;

/* Create a connection */
cout << "success ONE\n";
driver = get_driver_instance();
cout << "success TWO\n";
con = driver->connect("tcp://localhost:3306", "root", "bingo"); <--------//CRASHES RIGHT HERE
cout << "CONNECTED TO DATABASE\n";

I have no idea what I am doing wrong.

Can someone give me some pointers?