Getting MySQL error on home page! Help!

Discussion in 'Site & Server Administration' started by taktikz, Dec 15, 2008.

  1. #1
    Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'mujeresd_admin'@'localhost' (using password: YES) in /home/mujeresd/public_html/imglab.com/inc/config.php on line 7
    Could not connect


    This site was working until after I uploaded Wordpress.... What's going on here??



    I changed the wordpress URL to a non-existent one by accident, and now I can't log back in to wordpress either....
     
    taktikz, Dec 15, 2008 IP
  2. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #2
    It seems you have set the wrong password in your config.php for mujeresd_admin user. Delete the MySQL database user and recreate it with the password which you have set in config.php if you are not sure about the exact password. You will need to assign the privileges to the user again once you recreate it.

    Kailash
     
    kailash, Dec 16, 2008 IP