Solar_Sql_Adapter_Mysql::_buildDsn()

protected string Solar_Sql_Adapter_Mysql::_buildDsn ( array $info )

Creates a PDO-style DSN.

Parameters

  • (array) $info: An array with host, post, name, etc. keys.

Returns

  • (string) A PDO-style DSN.

Description

Creates a PDO-style DSN.

For example, "mysql:host=127.0.0.1;dbname=test"



Local