Package MySQLdb :: Package constants :: Module CR
[show private | hide private]
[frames | no frames]

Module MySQLdb.constants.CR

MySQL Connection Errors

Nearly all of these raise OperationalError. COMMANDS_OUT_OF_SYNC raises ProgrammingError.


Variable Summary
int CANT_READ_CHARSET = 2019                                                                  
int COMMANDS_OUT_OF_SYNC = 2014                                                                  
int CONN_HOST_ERROR = 2003                                                                  
int CONNECTION_ERROR = 2002                                                                  
int IPSOCK_ERROR = 2004                                                                  
int LOCALHOST_CONNECTION = 2010                                                                  
int MAX_ERROR = 2999                                                                  
int MIN_ERROR = 2000                                                                  
int NAMEDPIPE_CONNECTION = 2015                                                                  
int NAMEDPIPEOPEN_ERROR = 2017                                                                  
int NAMEDPIPESETSTATE_ERROR = 2018                                                                  
int NAMEDPIPEWAIT_ERROR = 2016                                                                  
int NET_PACKET_TOO_LARGE = 2020                                                                  
int OUT_OF_MEMORY = 2008                                                                  
int SERVER_GONE_ERROR = 2006                                                                  
int SERVER_HANDSHAKE_ERR = 2012                                                                  
int SERVER_LOST = 2013                                                                  
int SOCKET_CREATE_ERROR = 2001                                                                  
int TCP_CONNECTION = 2011                                                                  
int UNKNOWN_ERROR = 2000                                                                  
int UNKNOWN_HOST = 2005                                                                  
int VERSION_ERROR = 2007                                                                  
int WRONG_HOST_INFO = 2009                                                                  

Variable Details

CANT_READ_CHARSET

Type:
int
Value:
2019                                                                  

COMMANDS_OUT_OF_SYNC

Type:
int
Value:
2014                                                                  

CONN_HOST_ERROR

Type:
int
Value:
2003                                                                  

CONNECTION_ERROR

Type:
int
Value:
2002                                                                  

IPSOCK_ERROR

Type:
int
Value:
2004                                                                  

LOCALHOST_CONNECTION

Type:
int
Value:
2010                                                                  

MAX_ERROR

Type:
int
Value:
2999                                                                  

MIN_ERROR

Type:
int
Value:
2000                                                                  

NAMEDPIPE_CONNECTION

Type:
int
Value:
2015                                                                  

NAMEDPIPEOPEN_ERROR

Type:
int
Value:
2017                                                                  

NAMEDPIPESETSTATE_ERROR

Type:
int
Value:
2018                                                                  

NAMEDPIPEWAIT_ERROR

Type:
int
Value:
2016                                                                  

NET_PACKET_TOO_LARGE

Type:
int
Value:
2020                                                                  

OUT_OF_MEMORY

Type:
int
Value:
2008                                                                  

SERVER_GONE_ERROR

Type:
int
Value:
2006                                                                  

SERVER_HANDSHAKE_ERR

Type:
int
Value:
2012                                                                  

SERVER_LOST

Type:
int
Value:
2013                                                                  

SOCKET_CREATE_ERROR

Type:
int
Value:
2001                                                                  

TCP_CONNECTION

Type:
int
Value:
2011                                                                  

UNKNOWN_ERROR

Type:
int
Value:
2000                                                                  

UNKNOWN_HOST

Type:
int
Value:
2005                                                                  

VERSION_ERROR

Type:
int
Value:
2007                                                                  

WRONG_HOST_INFO

Type:
int
Value:
2009                                                                  

Generated by Epydoc 2.1 on Sat Mar 3 21:14:16 2007 http://epydoc.sf.net