Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spark
- .read
- .format("jdbc")
- .option("url", "jdbc:mysql://localhost:3306/mydb")
- .option("driver", "com.mysql.jdbc.Driver")
- .option("dbtable", "mydb")
- .option("user", "root")
- .option("password", "")
- .load()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement