title: Cannot connect to MySQl database from Eclipse DataSource Explorer
body: <p><a href="http://motionsharing.com/site/download/acefad55f1e81e456d71a7448b278915" rel="nofollow">http://motionsharing.com/site/download/acefad55f1e81e456d71a7448b278915</a></p>
  
  <p>Cannot connect to MySQl database from Eclipse DataSource Explorer.</p>
  
  <p>I tune appropriate driver but I cannot to connect.
  P.S.: I can connect to derby db and I can connect to mysql db but only from code, but I want to connect to mysql db from Data Source Explorer to get posivbilities to create tables and so on.</p>
  
  <p>What is wrong ?</p>
  
  <p>I can connect through code.</p>
  
  <pre><code>public static void main(String args[]) {
      try {
          Class.forName("com.mysql.jdbc.Driver");
          System.out.println("Driver loading success!");
          String url = "jdbc:mysql://localhost:3306/mydb";
          String name = "root";
          String password = "root";
          try {
              Connection con = DriverManager.getConnection(url, name, password);
              System.out.println("Connected.");
              con.close();
              System.out.println("Disconnected.");
          } catch (SQLException e) {
              e.printStackTrace();
          }
  
      } catch (ClassNotFoundException e) {
          e.printStackTrace();
      }
  }
  </code></pre>