title: Problems setting up dvwa
body: <p>I am trying to set up Damn Vulnerable Web App (DVWA). I installed XAMPP for Linux from the apachefriends download page.</p>
  
  <p>I tried to set up the database, but it shows "Could not connect to the database - please check the config file".</p>
  
  <p><strong>config.inc.php</strong> file shows:</p>
  
  <pre><code>$_DVWA[ 'db_server' ] = '127.0.0.1';
  $_DVWA[ 'db_database' ] = 'dvwa';
  $_DVWA[ 'db_user' ] = 'root';
  $_DVWA[ 'db_password' ] = 'p@ssw0rd';
  </code></pre>
  
  <p>I replaced the password with blank. After making the password blank when I go to <a href="http://localhost/dvwa" rel="nofollow noreferrer">http://localhost/dvwa</a> it takes me to the login page.</p>
  
  <p>I tried with username as root and kept password as empty. It gives me an error login failed. How I can fix this issue?</p>