Hello all

I am just wondering if DAL supports creating DBs before loading in
models?

I am Thinking about developing a DB Admin for web2py , which will
going to work like phpMyadmin.
But i am not sure how DAL of Web2py can create DBs. I think we have to
use python-mysql to do the work?


db=MySQLdb.connect(user='root')
cur =db.cursor()
cur.execute('CREATE DATABASE testdb')



Reply via email to