title: How to fix the ERROR PACKAGE com.mysql does not exist
body: <p>How to fix this program?</p>
  
  <pre><code>import java.sql.Connection;
  import java.sql.DriverManager; 
  import java.sql.SQLException;
  
  class MySqlData {
      public static void main(String args[]) throws Exception {
          DriverManager.registerDriver(new com.mysql.jdbcDriver());
          Connection con=DriverManager.getConnection("jdbc:mysql://localhost:3306/test/user=root&amp;password=merimaa");
          Statement stmt = con.createStatement();
          ResultSet res=stmt.executeQuery("Select * from employee");
          while (res.next()) {
              System.out.println(res.getString("employee_name"));
          }
          con.close();
      }
  }
  </code></pre>