digininja/DVWA

Fatal Error after changing username and password

faheemkhan14 opened this issue · 27 comments

Describe the bug
I followed your youtube tutorial and installed DVWA. It installed fine and was running however I changed he username and password in the 'config.inc.php' file and now at the login page it is giving me a 'Fatal Error...' The setup page shows up as normal still, just the login page doesn't.

System (please complete the following information):
VirtualBox

  • OS: Ubuntu Kali
    • PHP Version 8.2
Screenshot 2024-01-10 at 04 40 26 Screenshot 2024-01-10 at 04 39 48

I changed them back and it is still showing the same error now. Is there a way I can delete DVWA and all its files and start all over?

I did change them back to what they was before
User was admin and password was p@ssw0rd but it still showing the same fatal error

‘dvwa’ I mean

password is coming up as error here
Screenshot 2024-01-10 at 18 58 53

I cant create a database user because it just gives me the error whenever I try and put any username and password in. Tried the original dvwa and p@ssw0rd as it was before and tried the username and password i changed it to

but in order to login into mariadb you have to do 'mysql -u (username) -p(password) right?

still the same, username or password isnt working

no i created the database with dvwa as the user

Yeah it says inactive

finallyy, thank you.