On 2010-06-15 15:03, Phyo Arkar wrote:
ot sure how DAL of Web2py can create DBs. I think we have to
use python-mysql to do the work?
When you define a model web2py create the database for you!!

You have to tell wich RDBMS you use...

db=DAL  
<http://web2py.com/book/default/docstring/DAL>('sqlite://storage.sqlite')

For you :


'mysql://username:passw...@localhost/test'


http://web2py.com/book/default/section/6/2?search=mysql


Jonhy

Reply via email to