This property sets the current (default) database by executing aUSE statement. The property can also be used to retrieve the current database name.
USE
>>> cnx.database = 'test'>>> cnx.database = 'mysql'>>> cnx.databaseu'mysql'
Returns a string.