You are here

function hostingService_db_mysql::provisionProperties in Hosting 7.4

Return service properties to Provision CLI.

Return value

array

Overrides hostingService::provisionProperties

File

db_server/hosting_db_server.service.inc, line 134
Provide the hosting serivce classes for database integration.

Class

hostingService_db_mysql
A MySQL specific db service implementation class.

Code

function provisionProperties() {
  return array(
    'db_port' => $this
      ->default_port(),
    'db_grant_all_hosts' => TRUE,
    'master_db' => 'mysql' . '://' . urlencode($this->db_user) . ':' . urlencode($this->db_passwd) . '@' . $this->server->title,
  );
}