MySQL Connector/Python Release Notes
Syntax:
Press CTRL+C to copyccnx.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.