Connect to specified MySQL server
public Open ( string $database = null, string $server = null, string $username = null, string $password = null, string $charset = null, boolean $pcon = false ) : boolean | ||
$database | string | (Optional) Database name |
$server | string | (Optional) Host address |
$username | string | (Optional) User name |
$password | string | (Optional) Password |
$charset | string | (Optional) Character set |
$pcon | boolean | (Optional) Persistant connection |
return | boolean | Returns TRUE on success or FALSE on error |