Re: Mysql DB local socket access errors with mod_wsgi

2014-05-28 Thread Henning Sprang
On Wed, May 28, 2014 at 3:18 PM, wrote: > It's very likely a permissions problem. Webserver processes tend to run under > a special username (e.g. www-data) with very limited permissions - it's > likely that this user does not have access to the socket file. Yeah, that was the thing, thanks!

Re: Mysql DB local socket access errors with mod_wsgi

2014-05-28 Thread jirka . vejrazka
er: django-users@googlegroups.com Date: Wed, 28 May 2014 11:28:00 To: Reply-To: django-users@googlegroups.com Subject: Mysql DB local socket access errors with mod_wsgi Hi, I'm trying to setup a django production environment with mod_wsgi, and a local mysql which I want to connect via

Mysql DB local socket access errors with mod_wsgi

2014-05-28 Thread Henning Sprang
Hi, I'm trying to setup a django production environment with mod_wsgi, and a local mysql which I want to connect via the socket file. Without wsgi the app runs and connects to the database. When running it via wsgi, I get: OperationalError (2002, "Can't connect to local MySQL server through s