Hi I do: engine = create_engine('mysql://r...@localhost/tmp) Session = sessionmaker() Session.configure(bind=engine) connection = engine.connect() session = Session()
# suppose database TEST exists connection.execute('CREATE DATABASE IF NOT EXISTS TEST') Why does this gives a warning : /usr/lib/python2.5/site-packages/SQLAlchemy-0.5.6-py2.5.egg/sqlalchemy/engine/default.py:123: Warning: Can't create database 'TEST'; database exists cursor.execute(statement, parameters) Thanks for your help Peter -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=.