Nov 10

Can't connect to MySQL when touching django.wsgi

Error when touching django.wsgi: Can’t connect to MySQL server…

did not help unless restarted apache.

Solution that did work is to set DATABASE_PORT to ‘3306’ instead of empty string. Not sure why…