It is possible that you do not have a .table file in the databases folder, but yet the db.auth_user table already does exist in your database. The solution to that problem is usually to use fake_migrate to generate a corresponding table file. This can be found referenced in the book. Hope that helps.
On Saturday, 12 December 2020 at 17:37:44 UTC Tele Tom wrote: > I looked in w2p manual, and there is one example of OperationalError - > attempting to insert the same person.p.398. > > My message is: <class '_mysql_exceptions.OperationalError'> (1050, "Table > 'auth_user' already exists") > > the code includes a "db.define_table(auth_user > > and that's where it seems to be failing. > > Any takers? > > Davey > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/1969fe6a-0215-4a59-a870-79d25de8045en%40googlegroups.com.