Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dataframe_mysql = SQLContext.read.format("jdbc").options(
- url="jdbc:mysql://127.0.0.1/",
- driver = "com.mysql.jdbc.Driver",
- dbtable = "product",
- user="root",
- password='').load()
- AttributeError Traceback (most recent call last)
- <ipython-input-31-ad1eb4dc1f9d> in <module>()
- ----> 1 dataframe_mysql = SQLContext.read.format("jdbc").options(
- 2 url="jdbc:mysql://127.0.0.1/",
- 3 driver = "com.mysql.jdbc.Driver",
- 4 dbtable = "product",
- 5 user="root",
- AttributeError: 'property' object has no attribute 'format'
Add Comment
Please, Sign In to add comment