/usr/lib/python2.7/dist-packages/mysql/utilities/__init__.py is in mysql-utilities 1.6.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | #
# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
"""mysql.utilities"""
# Major, Minor, Patch, Status
VERSION = (1, 6, 1, 'Alpha', 0)
# Future versions will have to include only the X, Y (no Z).
VERSION_STRING = "%s.%s.%s" % VERSION[0:3]
COPYRIGHT = "2010, 2015 Oracle and/or its affiliates. All rights reserved."
COPYRIGHT_FULL = "Copyright (c) " + COPYRIGHT + """
This is a release of dual licensed MySQL Utilities. For the avoidance of
doubt, this particular copy of the software is released
under the version 2 of the GNU General Public License.
MySQL Utilities is brought to you by Oracle.
"""
LICENSE = "GPLv2"
VERSION_FRM = ("MySQL Utilities {program} version {VERSION_STRING} \n"
"License type: {LICENSE}".format(program="{program}",
VERSION_STRING=VERSION_STRING,
LICENSE=LICENSE))
LICENSE_FRM = (VERSION_FRM + "\n" + COPYRIGHT_FULL)
PYTHON_MIN_VERSION = (2, 6, 0)
PYTHON_MAX_VERSION = (3, 0, 0)
CONNECTOR_MIN_VERSION = (1, 2, 1)
# This dictionary has to be updated whenever a utility is added.
# the format to use is:
# '<utility_name>': (<PYTHON_MIN_VERSION>, <PYTHON_MAX_VERSION>)
AVAILABLE_UTILITIES = {
'mysqlauditadmin': (),
'mysqlauditgrep': (),
'mysqlbinlogmove': (),
'mysqlbinlogpurge': (),
'mysqlbinlogrotate': (),
'mysqldbcompare': (),
'mysqldbcopy': (),
'mysqldbexport': (),
'mysqldbimport': (),
'mysqldiff': (),
'mysqldiskusage': (),
'mysqlfailover': (),
'mysqlfrm': (),
'mysqlgrants': (),
'mysqlindexcheck': (),
'mysqlmetagrep': (),
'mysqlprocgrep': (),
'mysqlreplicate': (),
'mysqlrpladmin': (),
'mysqlrplcheck': (),
'mysqlrplms': (),
'mysqlrplshow': (),
'mysqlrplsync': (),
'mysqlserverclone': (),
'mysqlserverinfo': (),
'mysqlslavetrx': (),
'mysqluc': (),
'mysqluserclone': (),
}
|