Documentation Home
MySQL Connector/J 5.1 Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 0.6Mb
PDF (A4) - 0.6Mb


5.3.2 Networking

  • socksProxyHost

    Name or IP address of SOCKS host to connect through.

    Since Version 5.1.34
  • socksProxyPort

    Port of SOCKS server.

    Default Value 1080
    Since Version 5.1.34
  • maxAllowedPacket

    Maximum allowed packet size to send to server. If not set, the value of system variable 'max_allowed_packet' will be used to initialize this upon connecting. This value will not take effect if set larger than the value of 'max_allowed_packet'. Also, due to an internal dependency with the property 'blobSendChunkSize', this setting has a minimum value of '8203' if 'useServerPrepStmts' is set to 'true'.

    Default Value -1
    Since Version 5.1.8
  • tcpKeepAlive

    If connecting using TCP/IP, should the driver set SO_KEEPALIVE?

    Default Value true
    Since Version 5.0.7
  • tcpNoDelay

    If connecting using TCP/IP, should the driver set SO_TCP_NODELAY (disabling the Nagle Algorithm)?

    Default Value true
    Since Version 5.0.7
  • tcpRcvBuf

    If connecting using TCP/IP, should the driver set SO_RCV_BUF to the given value? The default value of '0', means use the platform default value for this property)

    Default Value 0
    Since Version 5.0.7
  • tcpSndBuf

    If connecting using TCP/IP, should the driver set SO_SND_BUF to the given value? The default value of '0', means use the platform default value for this property)

    Default Value 0
    Since Version 5.0.7
  • tcpTrafficClass

    If connecting using TCP/IP, should the driver set traffic class or type-of-service fields ?See the documentation for java.net.Socket.setTrafficClass() for more information.

    Default Value 0
    Since Version 5.0.7