+ Reply to Thread
Results 1 to 5 of 5

Thread: access denied

  1. #1
    onlayn is offline x10Hosting Member onlayn is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    6

    Question access denied

    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 by onlayn; 01-31-2010 at 11:18 AM.

  2. #2
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: access denied

    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 by Zubair; 01-31-2010 at 11:20 AM.
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

  3. #3
    Gouri's Avatar
    Gouri is offline Community Paragon Gouri has a brilliant futureGouri has a brilliant futureGouri has a brilliant future
    Join Date
    Oct 2007
    Location
    India
    Posts
    4,502

    Re: access denied

    Quote Originally Posted by onlayn View Post
    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.
    If you feel my post is useful then click to give Reputation (bottom left corner of this post)

    X10 Hosting | News and Announcements | Premium Hosting | VPS Hosting | Prime Membership

    Tech Community | Gouri

  4. #4
    onlayn is offline x10Hosting Member onlayn is an unknown quantity at this point
    Join Date
    Jan 2010
    Posts
    6

    Re: access denied

    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);

    ----------------

  5. #5
    Zubair's Avatar
    Zubair is offline x10 Super Spammer Zubair has a reputation beyond reputeZubair has a reputation beyond reputeZubair has a reputation beyond repute
    Join Date
    Jul 2009
    Location
    Pakistan
    Posts
    8,747

    Re: access denied

    As we are discussing this in your other thread http://forums.x10hosting.com/program...ss-denied.html

    so please just post there
    Last edited by Zubair; 01-31-2010 at 12:17 PM.
    Zubair Barkat | Level 2 Tech
    █ 888-X10-9668 - zubair[@]x10hosting.com
    x10Hosting - Giving Away Hosting Since 2004

+ Reply to Thread

Similar Threads

  1. Access denied for database user
    By vivek noronha in forum Free Hosting
    Replies: 3
    Last Post: 10-29-2009, 12:37 PM
  2. 'Access denied' when uploading via FTP
    By jamiek in forum Free Hosting
    Replies: 0
    Last Post: 11-25-2008, 07:14 AM
  3. mySql Access Denied Error
    By shaneiadt in forum Programming Help
    Replies: 4
    Last Post: 02-06-2008, 06:24 PM
  4. Website is down
    By JeffreyWalters in forum Free Hosting
    Replies: 17
    Last Post: 11-28-2007, 12:16 PM
  5. INSERT command denied??
    By 1337scape in forum Free Hosting
    Replies: 6
    Last Post: 11-14-2007, 05:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers