|Subject||RE: [IBO] executing already or not in passive mode|
> Now I really feel stupid, not seeing the obviousYou should not feel stupid as this isn't obvious, not was your code, at
first glance, confusing. You simply want to be sure your database exists
when connecting to it.
What is happening is you are getting the BeforeConnect event being called
twice because it is also getting called during the process of the script
creating the database, which also at the same time is gaining a connection
and thus the subsequent call to BeforeConnect.