<?php
$db_username="root"; /*Username in localhost is ROOT*/
$db_password=""; /*DataBasa Password*/
$db_hoster="localhost"; /*Just in the LocalHost */
$conn = mysql_connect($db_hoster, $db_username, $db_password);
if(! $conn )
{
die('DataBasa error: ' . mysql_error());
}
echo 'DataBasa READY';
mysql_close($conn);
?>
$db_username="root"; /*Username in localhost is ROOT*/
$db_password=""; /*DataBasa Password*/
$db_hoster="localhost"; /*Just in the LocalHost */
$conn = mysql_connect($db_hoster, $db_username, $db_password);
if(! $conn )
{
die('DataBasa error: ' . mysql_error());
}
echo 'DataBasa READY';
mysql_close($conn);
?>
No comments:
Post a Comment