Like any other web2py application, change in models/config.py

mainconfig.database_uri = 'sqlite://storage.sqlite'


a

mainconfig.migrate = True

mainconfig.database_uri = 'mysql://user:pass@localhost:3306/databasename'


The problem is perhaps you have migrate=False. Delete all the content in the
database folder and put migrate=True, if you are testing.

2011/4/30 luckysmack <luckysm...@gmail.com>

> This is great. I noticed that the default is to use sqlite, is there a
> way I can convert it to use mysql? i tried editing the connection
> screen before visiting the page, but i kept getting a ticket stating
> it was unable to create a table.
>
> On Apr 29, 8:17 am, Christopher Steel <chris.st...@gmail.com> wrote:
> > Martin,
> >
> >  I have been looking at powerpack and it is a really exciting
> > application and collection of plugins.
> >
> > You have addressed a number of practical issues related to Web2py
> > application development in an elegant and what appears to be a highly
> > practical ways.  Bravo!
> >
> > Your approach of starting with a custom application makes a lot of
> > sense.
> >
> > Do you have any plans and/or ideas on good approaches to creating
> > multi-lingual sites using powerpack?
> >
> > Either way, congratulations on Powerpack, the quality really shines
> > through, this is an awesome contribution!
> >
> > Thank You,
> >
> > Christopher Steel
> >
> > Voice of Access
> >
> > On Apr 12, 5:19 pm, Martín Mulone <mulone.mar...@gmail.com> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Powerpack App = Plugin Instant Press + Plugins Comments + Plugins
> >
> > > Intro:http://www.youtube.com/watch?v=nvvWE2rVnR0
> >
> > >https://bitbucket.org/mulonemartin/powerpack/wiki/Home
> >
> > > --
> > > My blog:http://martin.tecnodoc.com.ar
> > > Expert4Solution:
> http://www.experts4solutions.com/e4s/default/expert/6http://www.cvsta...




-- 
 http://martin.tecnodoc.com.ar

Reply via email to