how can I get askbot's database ,the detail of tables?
I want to get the tables sql script.how to get it???
This is database specific. You can log in to the db shell by typing:
python manage.py dbshell
Or log in to the database directly via an appropriate client.
then in mysql
show tables;
in sqlite
.tables
in postgres
\d
I haven't IDE,can you gave me the sql script of mysql version by email? email address is yfq2010@gmail.com ,thanks you very much.
All the commands are to be typed into the shell, no IDE needed. You can also run command python manage.py sqldump
To enter a block of code:
Comments
Is this a hosted account, or did you install the code on your own server?