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