I keep on getting an error on my website

Status
Not open for further replies.

asammustafa143

New Member
Messages
20
Reaction score
0
Points
0
ERROR: Please make sure you update the file /includes/db_connect.php with the correct MySQL database information.

I dont know what the host name of my mysql server

and i dont know the user

Where am i meant to find this information

<?php

// config

$config[\'host\'] = \"localhost\"; // host name of your mysql server

$config[\'user\'] = \"am1996_mustafa\"; // your mysql username

$config[\'pass\'] = \"************\"; // your mysql password

$config[\'db\'] = \"am1996_asam\"; // the database your table is in.



@mysql_connect(\"$config[host]\",\"$config[user]\",\"$config[pass]\") or (\"ERROR: Please make sure you update the file config.php with the correct MySQL database information. For further information please read README.txt\");

@mysql_select_db(\"$config[db]\") or (\"ERROR: Please make sure you update the file config.php with the correct MySQL database information. For further information please read README.txt\");

?>





Thanks

Asam Mustafa
 
Status
Not open for further replies.
Top