Justify
10-09-2007, 06:49 PM
K, So im doing a social networking site for my college mates n that nothing big and its on a good old name i hardly use, theres no readme file and 2bh, theres no document telling u how 2 install.
I created the databases party_space wid da pwd n stuff, edited data.php with the correct info:
//db access info
$sql_host='localhost';//host
$sql_user='party_space';//db user
$sql_pass='l23';//db pass
$sql_db='party_space';//db name
then refreshed the site and this appears, when i've imported the mysql txt, how do i fix this?
Warning: mysql_connect() [function.mysql-connect (http://partyhabbo.net/space/function.mysql-connect)]: Access denied for user 'party_space'@'localhost' (using password: YES) in /home/party/public_html/space/functions.php on line 34
Warning: mysql_select_db() [function.mysql-select-db (http://partyhabbo.net/space/function.mysql-select-db)]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/party/public_html/space/functions.php on line 35
Warning: mysql_select_db() [function.mysql-select-db (http://partyhabbo.net/space/function.mysql-select-db)]: A link to the server could not be established in /home/party/public_html/space/functions.php on line 35
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/party/public_html/space/functions.php on line 40
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/party/public_html/space/functions.php on line 42
I created the databases party_space wid da pwd n stuff, edited data.php with the correct info:
//db access info
$sql_host='localhost';//host
$sql_user='party_space';//db user
$sql_pass='l23';//db pass
$sql_db='party_space';//db name
then refreshed the site and this appears, when i've imported the mysql txt, how do i fix this?
Warning: mysql_connect() [function.mysql-connect (http://partyhabbo.net/space/function.mysql-connect)]: Access denied for user 'party_space'@'localhost' (using password: YES) in /home/party/public_html/space/functions.php on line 34
Warning: mysql_select_db() [function.mysql-select-db (http://partyhabbo.net/space/function.mysql-select-db)]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/party/public_html/space/functions.php on line 35
Warning: mysql_select_db() [function.mysql-select-db (http://partyhabbo.net/space/function.mysql-select-db)]: A link to the server could not be established in /home/party/public_html/space/functions.php on line 35
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/party/public_html/space/functions.php on line 40
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/party/public_html/space/functions.php on line 42