First time here? Check out the FAQ!

Revision history  [back]

Do I need to install MySQL server before installing Askbot?

I am a little confused when reading Askbot installation doc.

It implies that we don't need to install MySQL server on the box, doesn't Askbot need a DB backend?

Thanks,

(Similar questions go to Apache server, and mod_wsgi modules)

What I have done is show below

#sudo python setup.py develop

#askbot-setup

#sudo pip install mysql-python

Here is the error message I got

vagrant@askbot:~/askbot$ sudo pip install mysql-python Downloading/unpacking mysql-python Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded Running setup.py (path:/tmp/pip_build_root/mysql-python/setup.py) egg_info for package mysql-python sh: 1: mysql_config: not found Traceback (most recent call last): File "", line 17, in File "/tmp/pip_build_root/mysql-python/setup.py", line 17, in metadata, options = get_config() File "setup_posix.py", line 43, in get_config libs = mysql_config("libs_r") File "setup_posix.py", line 25, in mysql_config raise EnvironmentError("%s not found" % (mysql_config.path,)) EnvironmentError: mysql_config not found Complete output from command python setup.py egg_info: sh: 1: mysql_config: not found

Traceback (most recent call last):

File "", line 17, in

File "/tmp/pip_build_root/mysql-python/setup.py", line 17, in

metadata, options = get_config()

File "setup_posix.py", line 43, in get_config

libs = mysql_config("libs_r")

File "setup_posix.py", line 25, in mysql_config

raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found


Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/mysql-python Storing debug log for failure in /home/vagrant/.pip/pip.log

Do I need to install MySQL server before installing Askbot?

I am a little confused when reading Askbot installation doc.

It implies that we don't need to install MySQL server on the box, doesn't Askbot need a DB backend?

Thanks,

(Similar Similar questions go to Apache server, and mod_wsgi modules)

What I have done is show below

#sudo python setup.py develop

#askbot-setup

#sudo pip install mysql-python

Here is the error message I got

vagrant@askbot:~/askbot$ sudo pip install mysql-python Downloading/unpacking mysql-python Downloading MySQL-python-1.2.5.zip (108kB): 108kB downloaded Running setup.py (path:/tmp/pip_build_root/mysql-python/setup.py) egg_info for package mysql-python sh: 1: mysql_config: not found Traceback (most recent call last): File "", line 17, in File "/tmp/pip_build_root/mysql-python/setup.py", line 17, in metadata, options = get_config() File "setup_posix.py", line 43, in get_config libs = mysql_config("libs_r") File "setup_posix.py", line 25, in mysql_config raise EnvironmentError("%s not found" % (mysql_config.path,)) EnvironmentError: mysql_config not found Complete output from command python setup.py egg_info: sh: 1: mysql_config: not found

Traceback (most recent call last):

File "", line 17, in

File "/tmp/pip_build_root/mysql-python/setup.py", line 17, in

metadata, options = get_config()

File "setup_posix.py", line 43, in get_config

libs = mysql_config("libs_r")

File "setup_posix.py", line 25, in mysql_config

raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found


Cleaning up... Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/mysql-python Storing debug log for failure in /home/vagrant/.pip/pip.logmodules