(PHP 5, PHP 7, PHP 8)
Represents a connection between PHP and a MySQL database.
$hostname
= null
,$username
= null
,$password
= null
,$database
= null
,$port
= null
,$socket
= null
$hostname
= null
,$username
= null
,$password
= null
,$database
= null
,$port
= null
,$socket
= null
&$read
,&$error
,&$reject
,$seconds
,$microseconds
= 0$hostname
= null
,$username
= null
,$password
= null
,$database
= null
,$port
= null
,$socket
= null
,$flags
= 0$key
,$certificate
,$ca_certificate
,$ca_path
,$cipher_algos