Persistent Connections
4/14
Connecting to MySQL
Creating a Database
The simple connection
<?
$conn = mysql_pconnect('localhost');
echo $conn;
?>
Output
$conn = mysql_pconnect('localhost'); echo $conn; ?>
Caveats
•
Watch out for multi-credential connections
•
Make sure you match up max_connections and MaxClients