SparkSql中jdbc连接mysql时候报错No suitable driver

在学习sparksql中连接jdbc报错
Exception in thread "main" java.sql.SQLException: No suitable driver
       at java.sql.DriverManager.getDriver(DriverManager.java:315)
       at org.apache.spark.sql.execution.datasources.jdbc.JDBCOptions$$anonfun$7.apply(JDBCOptions.scala:84)
       at org.apache.spark.sql.execution.datasources.jdbc.JDBCOptions$$anonfun$7.apply(JDBCOptions.scala:84)
       at scala.Option.getOrElse(Option.scala:121)
       at org.apache.spark.sql.execution.dataso

SparkSql中jdbc连接mysql时候报错No suitable driver最先出现在Python成神之路

版权声明:
作者:Mr李
链接:https://www.techfm.club/p/17053.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>