title: Java to mysql jdbc connection problems
body: <p>I'm new with getting a java applet to connect to a mysql database. This is my first time attempting to do so.</p>
  
  <p>I've researched a lot and have seen lots of tutorials, but I'm still facing problems.
  Since my java applet goes to a browser, I did sign it.
  I've also been using jdbc and the jar file has been imported properly to my library.</p>
  
  <p>I've also been using 000webhost.com and have been trying to connect to the database from both the IDE and the browser.
  I also got two of my friends to help me. One of them had to go early and the other don't know where I went wrong.</p>
  
  <p>Here is my codes:
  <a href="http://prntscr.com/oagfi" rel="nofollow noreferrer">http://prntscr.com/oagfi</a></p>
  
  <p><img src="https://i.stack.imgur.com/qwJrF.png" alt="enter image description here"></p>
  
  <p>I've come to the conclusion that the DriverManager.getConnection(...) is whats giving me problems.</p>
  
  <p>The error reads...
  <a href="http://prntscr.com/oaetz" rel="nofollow noreferrer">http://prntscr.com/oaetz</a></p>
  
  <p><img src="https://i.stack.imgur.com/XBaml.png" alt="enter image description here"></p>
  
  <p>I have also tried looking up the cause but still no luck.</p>
  
  <p>Is there anything I can do to fix this problem? I'm curious of what this cause mean and why I'm having trouble.</p>