• Resolved ysabastian7

    (@ysabastian7)


    I am using Xampp server to locally test and develop my website. I used the bitnami WordPress to directly install to my server under my ‘apps’ folder. The problem is, I mistakenly deleted my WordPress installation folder in the app folder location but luckily I had a backup of the folder. After restoring the backup to the apps folder on trying to connect to my website I keep getting this error:
    Error establishing a database connection
    I have also checked PHPMyAdmin and the database is still there.
    I will appreciate any solution as soon as possible

Viewing 1 replies (of 1 total)
  • Thread Starter ysabastian7

    (@ysabastian7)

    Hey there everyone, I have the solution. If you face this problem just follow these steps below.

      locate the wp-config.php file in your backup wordpress folder then open it with any editor of your choice
      Open PHPMyAdmin and select User Account, Locate your wordpress database and click on Edit Privilleged
      </ol
      Click on Change Password then click on Generate.
      Copy the generated password then click on Go to validate your querry.Go now to your wp-config.php and replace the database connect password with the newly generated password then save the file.
      Try reconnecting to your dashboard. It should work just fine.
Viewing 1 replies (of 1 total)
  • The topic ‘Can't connect to my database after mistakenly deleting my wordpress installation’ is closed to new replies.