Skip to content
bwallace edited this page Sep 15, 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 abstrackr < file.sql // (you'll be prompted for a password)