SQL API simlified
event auto-open after successful connection