You are here

protected function MySQLiSource::_dbInfo in Backup and Migrate 8.4

Get the version info for the given DB.

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

File

lib/backup_migrate_core/src/Source/MySQLiSource.php, line 488

Class

MySQLiSource
Class MySQLiSource.

Namespace

BackupMigrate\Core\Source

Code

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