Error: Could not connect to the database

  • Hi,


    I need help, fast! =O


    I have a client site that has been live for a few months to a year now, but just this morning I was uploading an update to include the Forms app (which works perfectly on my local environment), and carelessly overwrote the /perch folder which in my case is /admin.


    The DB access credentials have not changed, yet having replaced the config.php file back to the live site details (as opposed to my localhost), I still cannot connect to the DB.


    Please help!


    Thanks,

    Brett

  • drewm

    Approved the thread.
  • Hello Brett,


    I hope you've solved this already.


    If not, did you check whether the database credentials, database server, database name and the database tables prefix in your Perch config file matches what's on your server?