You are here

protected function MySQLiSource::_dbInfo in Backup and Migrate 5.0.x

Get the version info for the given DB.

1 call to MySQLiSource::_dbInfo()
MySQLiSource::_getSqlHeader in src/Core/Source/MySQLiSource.php
Get the header for the top of the SQL file.

File

src/Core/Source/MySQLiSource.php, line 499

Class

MySQLiSource
@package Drupal\backup_migrate\Core\Source

Namespace

Drupal\backup_migrate\Core\Source

Code

protected function _dbInfo() {
  $conn = $this
    ->_getConnection();
  return [
    'type' => 'mysql',
    'version' => $conn->server_version,
  ];
}