access denied

onlayn

New Member
Messages
6
Reaction score
0
Points
0
i cant open my index.php


here is d code of tides.conf
-----
$db_host = "localhost";
$db_name = "kendyo_cvsutides";
$db_user = "root";
$db_pass = "";
$db_link = mysql_connect($db_host,$db_user,$db_pass);
mysql_select_db($db_name,$db_link);
-----

it always display these errors..
can someone help me how to fix it?:eek4:


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'cossacks.x10hosting.com' (using password: NO) in /home/kendyo/public_html/tides.conf on line 6

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/kendyo/public_html/tides.conf on line 7

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kendyo/public_html/tides.conf:6) in /home/kendyo/public_html/index.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kendyo/public_html/tides.conf:6) in /home/kendyo/public_html/index.php on line 3

Warning: mysql_query() [function.mysql-query]: Access denied for user 'kendyo'@'cossacks.x10hosting.com' (using password: NO) in /home/kendyo/public_html/index.php on line 7

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/kendyo/public_html/index.php on line 7
mysql error:Access denied for user 'kendyo'@'cossacks.x10hosting.com' (using password: NO)
 
Last edited:

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Your using wrong info in your database configuration file..

Open tides.conf file copy all code from it and post it here in
Code:
 tags
 
Last edited:

Gouri

Community Paragon
Community Support
Messages
4,565
Reaction score
245
Points
63
i cant open my index.php
it always display these errors..
can someone help me how to fix it?:eek4:


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'cossacks.x10hosting.com' (using password: NO) in /home/kendyo/public_html/tides.conf on line 6

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/kendyo/public_html/tides.conf on line 7

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kendyo/public_html/tides.conf:6) in /home/kendyo/public_html/index.php on line 3

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kendyo/public_html/tides.conf:6) in /home/kendyo/public_html/index.php on line 3

Warning: mysql_query() [function.mysql-query]: Access denied for user 'kendyo'@'cossacks.x10hosting.com' (using password: NO) in /home/kendyo/public_html/index.php on line 7

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/kendyo/public_html/index.php on line 7
mysql error:Access denied for user 'kendyo'@'cossacks.x10hosting.com' (using password: NO)

check the parameters passing to the mysql_connect function.
 

onlayn

New Member
Messages
6
Reaction score
0
Points
0
here is the code of tides.conf

-------------
$db_host = "localhost";
$db_name = "kendyo_cvsutides";
$db_user = "kendyo_kendyo";
$db_pass = "";
$db_link = mysql_connect($db_host,$db_user,$db_pass);
mysql_select_db($db_name,$db_link);

----------------
 
Top