|
MysqlndUhConnection::connectOpen a new connection to the MySQL server Beschreibung
public bool MysqlndUhConnection::connect
( mysqlnd_connection
$connection
, string $host
, string $use"
, string $password
, string $database
, int $port
, string $socket
, int $mysql_flags
)Open a new connection to the MySQL server. Parameter-Liste
Rückgabewerte
Returns Beispiele
Beispiel #1 MysqlndUhConnection::connect example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: proxy::connect(array ( 0 => NULL, 1 => 'localhost', 2 => 'root', 3 => '', 4 => 'test', 5 => 3306, 6 => NULL, 7 => 131072, )) proxy::connect returns true Siehe auch
|