Ok, I'll try to:
My Application has the following lines:
if (!connection->connect(dbname.c_str(), server.c_str(), dbuser.c_str(),
dbpw.c_str())) {
// Error-Handling
errorMessage = connection->error();
}
If the database are able to connect, all is fine. But if anything wrong
(like the password), I'll show an error-message in the browser. But it
isn' possible. In the if (!...) line, the Application aren't continued
with, on the browser I see only a white screen, and in application
output I see only the message
[2009-Mar-26 17:21:47.991453] 10385 [/ p7jwOE69UNJ7Ulny] [fatal]
"std::exception"
So I'm not able to get a message to the user, only the logfile will show
me what's wrong (if I'm lucky).
Greetings
Torsten
Am 26.03.2009 17:08, schrieb Dushan Savich:
Could you please be more specific?
Dushan
Torsten Schulz wrote:
Hello,
If the mysql++-connection can't connect, witty destroyed the session
with std::exception. No other error-message.
Maybe it is possible to change anything here, so I'm able to show an
error-message to the user?
Greetings
Torsten
------------------------------------------------------------------------
------------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------
------------------------------------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest