MySQL Connector/Python Developer Guide

11.41 _mysql_connector.MySQL.shutdown() Method

Syntax:

ccnx.shutdown(flags)

Shuts down the MySQL server. The only argument currently permitted is an integer that describes the shutdown type.

Raises a TypeError exception if the first argument is not an integer. Raises a MySQLErrorInterface exception if an error is retured by the MySQL server.