title: JDBC Driver connection not working in NetBeans IDE
body: <p>I have created a login screen but each time I test it, I get the following error message: <code>java.lang.ClassNotFoundException: com.mysql.jdbc.Driver</code></p>
  
  <p>I know my database connection coding is correct because I have used it before and no errors are displayed. I tried adding the database driver through this Stack Overflow <a href="https://stackoverflow.com/questions/6081307/how-to-connect-netbeans-to-mysql-database">How to connect NetBeans to MySQL database?</a> but the problem persists and I have also ensured the database was connected in the driver. </p>
  
  <p>How do I get the driver to work?</p>