Attempt to reconnect to the MySQL server.
attempts specifies the number of
times a reconnect is tried. The
argument is the number of seconds to wait between each retry.
You might set the number of attempts higher and use a longer delay when you expect the MySQL server to be down for maintenance, or when you expect the network to be temporarily unavailable.
Copyright © 2012, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices