MCPcopy Create free account
hub / github.com/box/Anemometer / wait_for_mysql

Function wait_for_mysql

docker/docker-entrypoint.py:12–46  ·  view source on GitHub ↗

Wait until MySQL becomes available or timeout expires :param host: MySQL host :param port: MySQL port :param user: MySQL user :param password: MySQL password :param timeout: wait up to this number of seconds :return: None :raise: Exception

(host='localhost', port=3306, user='root', password='', timeout=300)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 1

DatabaseExceptionClass · 0.85

Tested by

no test coverage detected