testconnection.php

[root@dhcppc2 tools]# cat testconnection.php <?php $link = mysql_connect(‘localhost’, ‘root’, ‘MPa55word’); if (!$link) { die(‘Could not connect: ‘ . mysql_error()); } echo ‘Connected successfully’; mysql_close($link); ?> Advertisements