title: Configuring apache superset with mysql database
body: <p>I am configuring apache to read from mysql instead of sqlite; The following is the details in my configuration file. I don't quite understand how to configure the file above to read from my database so that i can begin creating summaries: I have referred to this documentation for my set up. <a href="https://superset.incubator.apache.org/installation.html" rel="nofollow noreferrer">https://superset.incubator.apache.org/installation.html</a></p>
  
  <pre><code># Superset specific config
  #---------------------------------------------------------
  ROW_LIMIT = 200000
  SUPERSET_WORKERS = 4
  
  SUPERSET_WEBSERVER_PORT = 8088
  #---------------------------------------------------------
  
  #---------------------------------------------------------
  # Flask App Builder configuration
  #---------------------------------------------------------
  # Your App secret key
  SECRET_KEY = '\2\1t567fgj7dtghjdhfui64@#$&amp;77cvw424tkey\1\2\e\y\y\h'
  
  # The SQLAlchemy connection string to your database backend
  # This connection defines the path to the database that stores your
  # superset metadata (slices, connections, tables, dashboards, ...).
  # Note that the connection information to connect to the datasources
  # you want to explore are managed directly in the web UI
  #SQLALCHEMY_DATABASE_URI = 'sqlite:////path/to/superset.db'
  SQLALCHEMY_DATABASE_URI = 'mysql://username:password@localhost:3307/'
  
  # Flask-WTF flag for CSRF
  CSRF_ENABLED = True
  
  # Set this API key to enable Mapbox visualizations
  MAPBOX_API_KEY = ''
  </code></pre>
  
  <p>I run the following command to init my project</p>
  
  <pre><code>superset init
  </code></pre>
  
  <p>This results to  the following error:</p>
  
  <pre><code>ERROR:flask_appbuilder.security.sqla.manager:DB Creation and initialization failed: 'NoneType' object has no attribute 'replace'
  </code></pre>
  
  <p>Any direction to fix my configuration issue will be highly appreciated</p>