JoeComins
28-07-2006, 10:07 PM
This is my TutsConfig.php
<?php
$username = "jctest_tut";
$password = "tut1224";
$host = "localhost";
$database = "jctest_tut";
$table = "tutorials";
mysql_connect($host,$username,$password) or die("Error connecting to Database!
" . mysql_error());
mysql_select_db($database) or die("Cannot select database!
" . mysql_error());
?>
This is the error:
Warning: mysql_connect(): Access denied for user 'jctest_tut'@'localhost' (using password: YES) in /home3/jctest/public_html/tutconfig.php on line 8
Whats wrong?
Also, can someone maybe help me make it?
<?php
$username = "jctest_tut";
$password = "tut1224";
$host = "localhost";
$database = "jctest_tut";
$table = "tutorials";
mysql_connect($host,$username,$password) or die("Error connecting to Database!
" . mysql_error());
mysql_select_db($database) or die("Cannot select database!
" . mysql_error());
?>
This is the error:
Warning: mysql_connect(): Access denied for user 'jctest_tut'@'localhost' (using password: YES) in /home3/jctest/public_html/tutconfig.php on line 8
Whats wrong?
Also, can someone maybe help me make it?