title: Load JDBC driver for Spark DataFrame 'write' using 'jdbc' in Python Script
body: <p>I'm trying to load MySQL JDBC driver from a python app. I'm not invoking 'bin/pyspark' or 'spark-submit' program; instead I have a Python script in which I'm initializing 'SparkContext' and 'SparkSession' objects.
  I understand that we can pass '--jars' option when invoking 'pyspark', but how do I load and specify jdbc driver in my python app?</p>