Home >Database >Mysql Tutorial >java.lang.ClassNotFoundException: com.mysql.jdbc_MySQL
mapreduce中操作mysql时显示java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbcmysql-connector-java-5.1.6-bin要导入工程中eclipse 中只要右击工程文件夹属性选项-Java Build Path-Libraries-Add Extenal JARs 添加即可……加入后可在.classpath文件中看到<classpathentry path="C:/usr/local/mysql-connector-java-5.0.4-bin.jar" kind="lib"/>