MySQLdb.constants.CR | index MySQLdb/constants/CR.py |
MySQL Connection Errors
Nearly all of these raise OperationalError. COMMANDS_OUT_OF_SYNC
raises ProgrammingError.
Data | ||
CANT_READ_CHARSET = 2019 COMMANDS_OUT_OF_SYNC = 2014 CONNECTION_ERROR = 2002 CONN_HOST_ERROR = 2003 IPSOCK_ERROR = 2004 LOCALHOST_CONNECTION = 2010 MAX_ERROR = 2999 MIN_ERROR = 2000 NAMEDPIPEOPEN_ERROR = 2017 NAMEDPIPESETSTATE_ERROR = 2018 NAMEDPIPEWAIT_ERROR = 2016 NAMEDPIPE_CONNECTION = 2015 NET_PACKET_TOO_LARGE = 2020 OUT_OF_MEMORY = 2008 SERVER_GONE_ERROR = 2006 SERVER_HANDSHAKE_ERR = 2012 SERVER_LOST = 2013 SOCKET_CREATE_ERROR = 2001 TCP_CONNECTION = 2011 UNKNOWN_ERROR = 2000 UNKNOWN_HOST = 2005 VERSION_ERROR = 2007 WRONG_HOST_INFO = 2009 |