Check whether the connection to the MySQL server is still available.
reconnect is set to
True, one or more attempts are made to try to
reconnect to the MySQL server using the
reconnect() method. Use the
delay argument (seconds) if you want to wait
between each retry.
When the connection is not available, an
InterfaceError is raised. Use the
method to check the connection without raising an error.
InterfaceError on errors.
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices