Ask Your Question
1

Problems installing with mysql

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

anonymous user

Anonymous

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://github.com/ASKBOT/askbot-devel.git askbot_deploy
cd askbot_deploy
virtualenv .
python setup.py develop
created a database named "askbot"
askbot-setup, and I have answered questions
set DATABASE_ENGINE = mysql, save and exit
python manage.py syncdb

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

python manage.py migrate

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

I have read this thread: http://askbot.org/en/question/3170/askbot_badgedata-does-not-during-initial-database

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

Here are the logs for those operations: http://pastebin.me/bc23773578d79a55882d7ced4e13751d

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
0

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

Comments

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+https://bitbucket.org/andrewgodwin/south or clone it from https://bitbucket.org/andrewgodwin/south/ and then python setup.py 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 askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Stats

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

Seen: 179 times

Last updated: Apr 17 '12