Documentation

MysqlCommonConnection Constructor

 public
\Bitrix\Main\DB\MysqlCommonConnection::__construct(
 array $configuration
);

This non-static method is called when creating a class instance and allows to modify it when an object is created.

Parameters

ParameterDescriptionVersion
$configurationArray of keys:
  • host - host;
  • database - database;
  • login - login;
  • password - password;
  • initCommand - initCommand;
  • options - settings;
  • engine - storage engine type.

Examples



© «Bitrix24», 2001-2024
Up