config mysql correction and init_app.py correction