SharkBait
New member
- Joined
- Mar 7, 2005
- Messages
- 4
Hello,
I am curious as how to I check wether or not my connection to my MySql database works.
When I can connect to the database via my connection script etc, all works great. But if the server that the database is down, my program then gets a runtime error and crashes. How can I check this so that if the server is down, I can exit the routine it is in so that it does not crash.
I am curious as how to I check wether or not my connection to my MySql database works.
When I can connect to the database via my connection script etc, all works great. But if the server that the database is down, my program then gets a runtime error and crashes. How can I check this so that if the server is down, I can exit the routine it is in so that it does not crash.