Ask Your Question

Problems installing with mysql

asked 2012-04-17 06:29:20 -0500

anonymous user


updated 2012-04-17 06:37:59 -0500

Hi all,

I want to install latest version (7.40) using "mysql"

Why not postgresql? Because my project is using mysql, I want to integrate askbot to it soon

What I did so far?

git clone git:// askbot_deploy
cd askbot_deploy
virtualenv .
python develop
created a database named "askbot"
askbot-setup, and I have answered questions
set DATABASE_ENGINE = mysql, save and exit
python syncdb

--- I got a warning here: (1146, "Table 'askbot.askbot_badgedata' doesn't exist"))

python migrate

--- I got error here:_mysql_exceptions.OperationalError: (1061, "Duplicate key name 'askbot_badgedata_56ae2a2a'")

I have read this thread:

I tried this scenario using InnoDB and MyIsam as default storage engines.

Here are the logs for those operations:

My Question: Is askbot 7.40 broken for MySQL? If so, are there any specific version that I can use with MySQL?

Thanks for making this great project open-source.

edit retag flag offensive close delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-04-17 11:35:15 -0500

The current south version is broken with mysql and adding unique keys, please install south from their repository.

edit flag offensive delete publish link more


Em, isn't askbot do pip install from mercury-repo of South? I mean it requires mercury and setuptools-hg in order to install..

Olloff ( 2012-04-17 11:47:44 -0500 )edit

pip install hg+ or clone it from and then python install

Fitoria ( 2012-04-17 11:57:34 -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)!

Add answer

[hide preview]

Reliable Askbot Hosting

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

create your Q&A site
30 days free trial


Asked: 2012-04-17 06:29:20 -0500

Seen: 234 times

Last updated: Apr 17 '12