Script Error - mysql_connect():

Discussion in 'PHP' started by seoindiaweb, Jul 9, 2006.

  1. #1
    Can anyone help me with this?? i am tierd fixing it but it doesnt work anyhow..:(
    i tried installing a joke script which i bought
    It says this error : "Warning: mysql_connect(): Access denied for user 'nobody'@'localhost' (using password: NO) in /home/ejokers/public_html/jokes/conn.php on line 9
    Access denied for user 'nobody'@'localhost' (using password: NO) "

    http://www.e-jokers.org/jokes/siteadmin/

    Can anyone help me with this pleasee?? i changed permissions as mentioned still it didnt worked
    --------------------------------------------------------------------------
    Same error with Games cheat site

    Warning: mysql_connect(): Access denied for user 'nobody'@'localhost' (using password: NO) in /home/ejokers/public_html/game/header.php on line 3
    Access denied for user 'nobody'@'localhost' (using password: NO)

    http://www.e-jokers.org/game/siteadmin/

    Can anyone pleasee help me ?? Thanx
     
    seoindiaweb, Jul 9, 2006 IP
    redhits likes this.
  2. weppos

    weppos Well-Known Member

    Messages:
    99
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    125
    #2
    You have problems with MySQL password.
    Read your script documentation and customize the area where MySQL database connection is configured. :)
     
    weppos, Jul 9, 2006 IP
  3. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #3
    If its a script you bought wasnt there a configuration file, e.g. config.php somewhere that you had to edit? Are you sure you entered the username and password correctly?

    I doubt its a problem with the script itself if you bought it...

    * EDIT * Sorry I just realised that weppos has already that this... :eek:
     
    Darkhodge, Jul 9, 2006 IP
  4. seoindiaweb

    seoindiaweb Banned

    Messages:
    2,889
    Likes Received:
    200
    Best Answers:
    0
    Trophy Points:
    0
    #4
    In Jokes site there's on Conn.php it says dont edit
    and in games there's config.php that i edited already
    mysql password is also correct i checked everyting
     
    seoindiaweb, Jul 9, 2006 IP
  5. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #5
    Are you tooooooooootally sure everything in config.php is correct? :)

    You shouldnt edit conn.php as youve said. The reason youre getting the error there is because the DB_password and DB_username variables that are getting passed from config.php is incorrect and therefore conn.php is running mysql_connect() with the wrong information...

    So double check the config.php file one more time and if it still doesnt work try contacting the person who sold you the script. :eek:
     
    Darkhodge, Jul 9, 2006 IP
  6. seoindiaweb

    seoindiaweb Banned

    Messages:
    2,889
    Likes Received:
    200
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Now i tried tripple times.. not sure why its not working.. lets see if today is last try if it works its fyne or i'll leave it..
    Thanx everyone
     
    seoindiaweb, Jul 9, 2006 IP
  7. Darkhodge

    Darkhodge Well-Known Member

    Messages:
    2,111
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    185
    #7
    No probs and good luck! :D
     
    Darkhodge, Jul 10, 2006 IP