Skip to content
bwallace edited this page Aug 9, 2011 · 11 revisions

To clear the db:

(at sql prompt):

drop database abstrackr;

create database abstrackr;

Now, to recreate and empty tables in the db:

websetup.py contains the table definitions. Just invoke:

paster setup-app development.ini

To import a database from a .sql file:

mysql -u root -p XXX -h localhost abstrackr < file.sql