Documentation Home
MySQL Connector/Python Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 0.7Mb
PDF (A4) - 0.7Mb


MySQL Connector/Python Developer Guide  /  Connector/Python C Extension API Reference  /  _mysql_connector.MySQL.shutdown() Method

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.