MySQL Forums
Forum List  »  Triggers

Re: How to check if database is up before my Trigger fires?
Posted by: Manjeet Singh
Date: May 24, 2023 01:21AM

Yes you can check by writing the code with try and catch to check if the database is open in the try section using the if statement and if it is now open then write code to open it in the catch section

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to check if database is up before my Trigger fires?
125
May 24, 2023 01:21AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.