Registered database
internal | |
---|---|
package | salt\sql |
__construct(string $host, string $port, string $db, string $user, string $pass, string $charset)
string
Host name
string
Port number
string
database name
string
user name
string
password
string
charset of database
checkConnect(string $password) : boolean
string
Password
boolean
TRUE if password can be used for connectconnect(string $password = NULL
) : \PDO
string
the password to use for connect (NULL for using the registered password)
\Exception |
if connexion failed |
---|
\PDO
PDO instance$charset : string
$db : string
$host : string
$pass : string
$port : string
$user : string