I am using Python3.4 for the Django app on CentOs. The application is working perfectly fine with runserver, but when it is configured with apache and wsgi.py, I get this Internal Server error and error long says :
[Wed Sep 16 11:38:30 2015] [error] [client 101.56.225.177] File "/usr/local/lib/python3.4/site-packages/django/db/backends/mysql/base.py", line 27, in <module>
[Wed Sep 16 11:38:30 2015] [error] [client 101.56.225.177] raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
[Wed Sep 16 11:38:30 2015] [error] [client 101.56.225.177] ImproperlyConfigured: Error loading MySQLdb module: No module named _mysql
MySQLdb module is working perfectly fine. I tried to install MySQL-python and then found MySQLdb doesn't have Python 3 support. Then tried to used Python -mysql connector but that too gives error.
I don't know why the MySQL is not working with apache.