[web2py] Re: Problem w/ cpdb.py script

2014-03-21 Thread Scott Hunter
I modified the script to compute a "safe" order (so no table is created before any that it references), although it looks like the original order is fine. But when it tries to define the first table (auth_cas, which has no references), I get: (1005, "Can't create table xxx.auth_cas' (errno: 15

[web2py] Re: Problem w/ cpdb.py script

2013-12-23 Thread Alan Etkin
> > Note that, when I tried to use the script to copy to a MySQL DB on > pythonanywhere, I got a 150 error, that it couldn't create an auth table, > and this may be related to foreign keys as well. > Note that there is another issue about cpdb (actually about the DAL class constructor and the

[web2py] Re: Problem w/ cpdb.py script

2013-12-23 Thread Scott Hunter
Note that, when I tried to use the script to copy to a MySQL DB on pythonanywhere, I got a 150 error, that it couldn't create an auth table, and this may be related to foreign keys as well. - Scott On Sunday, December 22, 2013 3:36:47 PM UTC-5, Scott Hunter wrote: > > I'm trying to use the cpd