Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. scala> val dataframe_mysql = sqlContext.read.format("jdbc").option("url", "jdbc:mysql://localhost/dfrobot").option("driver", "com.mysql.jdbc.Driver").option("dbtable", "product").option("user", "root").load()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement