Ask Your Question
0

how can I get askbot's database ,the detail of tables?

asked 2012-04-03 08:30:55 -0500

ticktack gravatar image ticktack
1 1 1

I want to get the tables sql script.how to get it???

delete close flag offensive retag edit

Comments

Is this a hosted account, or did you install the code on your own server?

todofixthis ( 2012-04-03 14:06:56 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-04-03 15:54:57 -0500

Evgeny gravatar image Evgeny flag of Chile
11329 50 84 183
http://askbot.org/

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
link publish delete flag offensive edit

Comments

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.

ticktack ( 2012-04-03 20:16:34 -0500 )edit

All the commands are to be typed into the shell, no IDE needed. You can also run command python manage.py sqldump

Evgeny ( 2012-04-05 14:34:08 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: 2012-04-03 08:30:55 -0500

Seen: 62 times

Last updated: Apr 03 '12