|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | + |
| 3 | +# MySQL Connector/Python - MySQL driver written in Python. |
| 4 | +# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. |
| 5 | +# |
| 6 | +# MySQL Connector/Python is licensed under the terms of the GPLv2 |
| 7 | +# <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most |
| 8 | +# MySQL Connectors. There are special exceptions to the terms and |
| 9 | +# conditions of the GPLv2 as it is applied to this software, see the |
| 10 | +# FOSS License Exception |
| 11 | +# <http://www.mysql.com/about/legal/licensing/foss-exception.html>. |
| 12 | +# |
| 13 | +# This program is free software; you can redistribute it and/or modify |
| 14 | +# it under the terms of the GNU General Public License as published by |
| 15 | +# the Free Software Foundation. |
| 16 | +# |
| 17 | +# This program is distributed in the hope that it will be useful, |
| 18 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 20 | +# GNU General Public License for more details. |
| 21 | +# |
| 22 | +# You should have received a copy of the GNU General Public License |
| 23 | +# along with this program; if not, write to the Free Software |
| 24 | +# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 25 | + |
| 26 | +# This file was auto-generated. |
| 27 | +_GENERATED_ON = '2013-01-28' |
| 28 | +_MYSQL_VERSION = (5, 6, 9) |
| 29 | + |
| 30 | +# Start MySQL Error messages |
| 31 | +CR_UNKNOWN_ERROR = u"Unknown MySQL error" |
| 32 | +CR_SOCKET_CREATE_ERROR = u"Can't create UNIX socket (%s)" |
| 33 | +CR_CONNECTION_ERROR = u"Can't connect to local MySQL server through socket '%-.100s' (%s)" |
| 34 | +CR_CONN_HOST_ERROR = u"Can't connect to MySQL server on '%-.100s' (%s)" |
| 35 | +CR_IPSOCK_ERROR = u"Can't create TCP/IP socket (%s)" |
| 36 | +CR_UNKNOWN_HOST = u"Unknown MySQL server host '%-.100s' (%s)" |
| 37 | +CR_SERVER_GONE_ERROR = u"MySQL server has gone away" |
| 38 | +CR_VERSION_ERROR = u"Protocol mismatch; server version = %s, client version = %s" |
| 39 | +CR_OUT_OF_MEMORY = u"MySQL client ran out of memory" |
| 40 | +CR_WRONG_HOST_INFO = u"Wrong host info" |
| 41 | +CR_LOCALHOST_CONNECTION = u"Localhost via UNIX socket" |
| 42 | +CR_TCP_CONNECTION = u"%-.100s via TCP/IP" |
| 43 | +CR_SERVER_HANDSHAKE_ERR = u"Error in server handshake" |
| 44 | +CR_SERVER_LOST = u"Lost connection to MySQL server during query" |
| 45 | +CR_COMMANDS_OUT_OF_SYNC = u"Commands out of sync; you can't run this command now" |
| 46 | +CR_NAMEDPIPE_CONNECTION = u"Named pipe: %-.32s" |
| 47 | +CR_NAMEDPIPEWAIT_ERROR = u"Can't wait for named pipe to host: %-.64s pipe: %-.32s (%s)" |
| 48 | +CR_NAMEDPIPEOPEN_ERROR = u"Can't open named pipe to host: %-.64s pipe: %-.32s (%s)" |
| 49 | +CR_NAMEDPIPESETSTATE_ERROR = u"Can't set state of named pipe to host: %-.64s pipe: %-.32s (%s)" |
| 50 | +CR_CANT_READ_CHARSET = u"Can't initialize character set %-.32s (path: %-.100s)" |
| 51 | +CR_NET_PACKET_TOO_LARGE = u"Got packet bigger than 'max_allowed_packet' bytes" |
| 52 | +CR_EMBEDDED_CONNECTION = u"Embedded server" |
| 53 | +CR_PROBE_SLAVE_STATUS = u"Error on SHOW SLAVE STATUS:" |
| 54 | +CR_PROBE_SLAVE_HOSTS = u"Error on SHOW SLAVE HOSTS:" |
| 55 | +CR_PROBE_SLAVE_CONNECT = u"Error connecting to slave:" |
| 56 | +CR_PROBE_MASTER_CONNECT = u"Error connecting to master:" |
| 57 | +CR_SSL_CONNECTION_ERROR = u"SSL connection error: %-.100s" |
| 58 | +CR_MALFORMED_PACKET = u"Malformed packet" |
| 59 | +CR_WRONG_LICENSE = u"This client library is licensed only for use with MySQL servers having '%s' license" |
| 60 | +CR_NULL_POINTER = u"Invalid use of null pointer" |
| 61 | +CR_NO_PREPARE_STMT = u"Statement not prepared" |
| 62 | +CR_PARAMS_NOT_BOUND = u"No data supplied for parameters in prepared statement" |
| 63 | +CR_DATA_TRUNCATED = u"Data truncated" |
| 64 | +CR_NO_PARAMETERS_EXISTS = u"No parameters exist in the statement" |
| 65 | +CR_INVALID_PARAMETER_NO = u"Invalid parameter number" |
| 66 | +CR_INVALID_BUFFER_USE = u"Can't send long data for non-string/non-binary data types (parameter: %s)" |
| 67 | +CR_UNSUPPORTED_PARAM_TYPE = u"Using unsupported buffer type: %s (parameter: %s)" |
| 68 | +CR_SHARED_MEMORY_CONNECTION = u"Shared memory: %-.100s" |
| 69 | +CR_SHARED_MEMORY_CONNECT_REQUEST_ERROR = u"Can't open shared memory; client could not create request event (%s)" |
| 70 | +CR_SHARED_MEMORY_CONNECT_ANSWER_ERROR = u"Can't open shared memory; no answer event received from server (%s)" |
| 71 | +CR_SHARED_MEMORY_CONNECT_FILE_MAP_ERROR = u"Can't open shared memory; server could not allocate file mapping (%s)" |
| 72 | +CR_SHARED_MEMORY_CONNECT_MAP_ERROR = u"Can't open shared memory; server could not get pointer to file mapping (%s)" |
| 73 | +CR_SHARED_MEMORY_FILE_MAP_ERROR = u"Can't open shared memory; client could not allocate file mapping (%s)" |
| 74 | +CR_SHARED_MEMORY_MAP_ERROR = u"Can't open shared memory; client could not get pointer to file mapping (%s)" |
| 75 | +CR_SHARED_MEMORY_EVENT_ERROR = u"Can't open shared memory; client could not create %s event (%s)" |
| 76 | +CR_SHARED_MEMORY_CONNECT_ABANDONED_ERROR = u"Can't open shared memory; no answer from server (%s)" |
| 77 | +CR_SHARED_MEMORY_CONNECT_SET_ERROR = u"Can't open shared memory; cannot send request event to server (%s)" |
| 78 | +CR_CONN_UNKNOW_PROTOCOL = u"Wrong or unknown protocol" |
| 79 | +CR_INVALID_CONN_HANDLE = u"Invalid connection handle" |
| 80 | +CR_SECURE_AUTH = u"Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)" |
| 81 | +CR_FETCH_CANCELED = u"Row retrieval was canceled by mysql_stmt_close() call" |
| 82 | +CR_NO_DATA = u"Attempt to read column without prior row fetch" |
| 83 | +CR_NO_STMT_METADATA = u"Prepared statement contains no metadata" |
| 84 | +CR_NO_RESULT_SET = u"Attempt to read a row while there is no result set associated with the statement" |
| 85 | +CR_NOT_IMPLEMENTED = u"This feature is not implemented yet" |
| 86 | +CR_SERVER_LOST_EXTENDED = u"Lost connection to MySQL server at '%s', system error: %s" |
| 87 | +CR_STMT_CLOSED = u"Statement closed indirectly because of a preceeding %s() call" |
| 88 | +CR_NEW_STMT_METADATA = u"The number of columns in the result set differs from the number of bound buffers. You must reset the statement, rebind the result set columns, and execute the statement again" |
| 89 | +CR_ALREADY_CONNECTED = u"This handle is already connected. Use a separate handle for each connection." |
| 90 | +CR_AUTH_PLUGIN_CANNOT_LOAD = u"Authentication plugin '%s' cannot be loaded: %s" |
| 91 | +CR_DUPLICATE_CONNECTION_ATTR = u"" |
| 92 | +# End MySQL Error messages |
| 93 | + |
0 commit comments