What am I doing wrong?
Well..
try/catch blocks catch C++ objects (exceptions, strings
int's, etc) thrown within the 'try' clause.
I imagine that mysql_real_connect() is either a C function
or is a C++ function that does NOT throw anything - hence
there is nothing to 'catch' and your code cont
Stefan Kristensen wrote:
> Hello again :-)
>
> In my everlasting search for knowledge, I have come to the issue of
> databases. I am using MySQL on a FreeBSD box.
>
> After some issues with include paths and libraries, I managed to get in
> contact with the database and retrieve some records so t