title: EZSQLException handling with message "SQL Error: Can't connect to MySQL server on xxx.xxx.x.xx(xxxxx)."
body: <p>I am working with MySQL server, Delphi and Zeoslib. Whenever I try to connect to my MySQL server running in another machine and it is shutoff on purpose, it throws an exception that it can't connect. I want to be able to suppress this exception or handle it properly. But my code doesn't seem to work.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>try
    WebSQLCon.Connect;
  except
    on E: Exception do begin
      WebSQLCon.Disconnect;
    end;
  end;
  </code></pre>
  
  <p>I can't see anything wrong with this code. So, why is it not handling the exception instead of popping up the message?</p>
  
  <p>UPDATE:
  <img src="https://i.stack.imgur.com/CXCog.png" alt="enter image description here"></p>