Thursday, June 2, 2011

django on cgi virtualenv

I'm trying to put my site in my hosting. I'm using awardspace:
I create a virtualenv with the necesary packets but installing mysqldb
I'm getting the error:


Traceback (most recent call last):
File "setup.py", line 15, in ?
metadata, options = get_config()
File "/home/www/MySQL-python-1.2.3/setup_posix.py", line 43, in
get_config
libs = mysql_config("libs_r")
File "/home/www/MySQL-python-1.2.3/setup_posix.py", line 24, in
mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found


and trying to enter the site get:

2002, "Can't connect to local MySQL server through socket '/var/run/
mysqld/mysqld.sock' (2)")

I think mysqldb need mysql-server installed o mysql-client but I don't
have root access how can I do it?


the url:

http://www.podiodeportes.com.ar/fmahorro/apache/django.cgi/admin/

how can I install mysql-server socket for mysqldb

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate