muellerfan
asked on
Checking Database Connection
I have an application that connects with a database inside our firewall. When the application starts, I want to check to see if the user can connect to the database and shutdown cleanly if not.
Is the best way to check if the user can connect just doing an open and close on the db and see if it fails? Or is there a better way?
Thanks,
Christie
Is the best way to check if the user can connect just doing an open and close on the db and see if it fails? Or is there a better way?
Thanks,
Christie
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER