True. I should have modified
def run_migrations_online():
Run migrations in 'online' mode.
In this scenario we need to create an Engine
and associate a connection with the context.
engine = engine_from_config(
config.get_section(config.config_ini_section),
excellent; thanks!
On Monday, September 29, 2008 4:48:18 PM UTC-5, Tom H wrote:
Depending on security preferences, it may be desirable to keep
database passwords out of code files.
One of the recommendations for MySQL is to keep the password in
a .my.cnf file accessible only to the user.