title: Checking connection to MySQL (Java)
body: <p>I'm working on creating my <em>little-utility</em> for MySQL, and I need some help.<br>
  How I can check connection to MySQL <em>(by login and password)</em>, like it was realised in <strong>phpMyAdmin</strong>, without pointing some database at first. Because most of solutions for work with databases need exactly that pointing.<br>
  <em>Thanks in advance)</em></p>