error 500 in login page #124

icees8 opened this Issue Dec 28, 2016 · 4 comments


None yet

3 participants

icees8 commented Dec 28, 2016

after creating the table when i go to login page it shows me error 500 what should i do
Operating system: Windows
Backend database: MySQL
PHP version: 5.6.27

Web Server SERVER_NAME: localhost

PHP function display_errors: Disabled
PHP function safe_mode: Disabled
PHP function allow_url_include: Enabled
PHP function allow_url_fopen: Enabled
PHP function magic_quotes_gpc: Disabled
PHP module gd: Installed
PHP module mysql: Installed
PHP module pdo_mysql: Installed

MySQL username: root
MySQL password: ******
MySQL database: dvwa
MySQL host:

reCAPTCHA key: Missing

icees8 commented Dec 29, 2016

i am not able to understand it please help

[Thu Dec 29 20:53:00.638437 2016] [:error] [pid 4104:tid 1180] [client ::1:49973] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)' in D:\bitnami\apache2\htdocs\DVWA-master\DVWA-master\dvwa\includes\\nStack trace:\n#0 D:\bitnami\apache2\htdocs\DVWA-master\DVWA-master\dvwa\includes\ PDO->__construct('mysql:host=loca...', 'root', '123654')\n#1 D:\bitnami\apache2\htdocs\DVWA-master\DVWA-master\login.php(8): dvwaDatabaseConnect()\n#2 {main}\n thrown in D:\bitnami\apache2\htdocs\DVWA-master\DVWA-master\dvwa\includes\ on line 469

mike-bailey commented Dec 29, 2016 edited

Access denied for user 'root'@'localhost' (using password: YES)

Pretty sure you got your login credentials wrong. There's plenty of documentation on the internet on this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment