We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2411
    • 1 Posts
    Hi all,

    I screwed up my database so restored from a backup and now am getting the following error:

    <<PHP Parse Error>>

    PHP error debug
    Error: mysql_connect() [function.mysql-connect]: Access denied for user ’sitename’@’72.167.232.56’ (using password: YES)
    Error type/ Nr.: Warning - 2
    File: /home/content/a/v/a/avagley/html/manager/includes/extenders/dbapi.mysql.class.inc.php
    Line: 89
    Line 89 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {


    Below this I keep getting:

    << Failed to create the database connection!>>

    Anyone know what to do here?
    Thanks!
      • 33337
      • 3,975 Posts
      The error tells that your username/password is not correct. Check that and try again.
        Zaigham R - MODX Professional | Skype | Email | Twitter

        Digging the interwebs for #MODX gems and bringing it to you. modx.link