Connection::MIN_MAX_ALLOWED_PACKET

Same name and namespace in other branches
  1. 9 core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::MIN_MAX_ALLOWED_PACKET
  2. 10 core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::MIN_MAX_ALLOWED_PACKET
  3. 11.x core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection::MIN_MAX_ALLOWED_PACKET

The minimal possible value for the max_allowed_packet setting of MySQL.

@link https://mariadb.com/kb/en/mariadb/server-system-variables/#max_allowed_… @link https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sy…

File

core/lib/Drupal/Core/Database/Driver/mysql/Connection.php, line 64

Class

Connection
MySQL implementation of <a href="/api/drupal/core%21lib%21Drupal%21Core%21Database%21Connection.php/class/Connection/8.9.x" title="Base Database API class." class="local">\Drupal\Core\Database\Connection</a>.

Namespace

Drupal\Core\Database\Driver\mysql

Code

const MIN_MAX_ALLOWED_PACKET = 1024;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.