Hi all. I'm a recent cake (version 0.10.9.2378 Final) convert and am
wondering how I can be notified of database errors such as a failed
connection, invalid database or user name, password mismatch, etc. At
the moment if the database is down, or I supply invalid access
credentials (ie invalid MySQL user information), then a bunch of php
warnings about an invalid resource (the failed db link) are dumped to
screen, and finally the controller loads the
app/views/errors/missing_table.thtml view.
What I want to be able to do is know what exactly failed. Did the
connection fail? Was the user name/password invalid? Was the database
name not found? I'd like to provide more informed error mesages, as
well as log such errors. Is there a way to do this?

Thanks!
chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to