title: How do I use interact with MySQL using Java?
body: <p>I'm assuming I need to use Connector\J and JDBC to achieve this, but I can't seem to 'install' Connector\J using the CLASSPATH thing. How do I do that ? I use the IntelliJ IDE if thats relevant. </p>
  
  <p>I'm looking for a way to talk to a mysql database and execute and print out a few basic queries but I'm not getting anywhere because I can't even talk to the database. </p>
  
  <p>Any help is appreciated.</p>