I want to use Django on a shared host that runs an unknown version of CentOS. My main problem is trying to interact with the database. MySQL is installed on the server, but not MySQL-python. Initially, I was thinking about what I propose to run "yum install MySQL-python", but apparently the version of MySQL-python, which is 1.2.1 in the default repositories for CentOS, and 1.2.1p2 is required for Django.
This requirement first started with Django 0.96. Added legacy mysql_old interface in notes notes for compatibility with older versions of MySQL-python. Last July, this legacy interface was unceremoniously omitted . The announcement of this change does not indicate a reason other than the old.
Is it possible to resurrect this old interface in Django 1.1? Have there been any changes to the database interface since? What would be the danger of forcing Django to skip version checking and use 1.2.1? Is it possible to compile a later version on another machine and copy the files to the host? What do I need to know to do this?
I also studied SQLite, but CentOS ships with Python 2.4.3 and therefore requires the extension pysqlite2, which (afaict) does not exist in the repository.
Everything can be solved simply by installing from the source code, but it’s rather dirty, and I’m much less likely to convince the company to do this than to force them to install something from the repository. I understand that it seems to me that I should just get a different host, but you will have to trust me that I have reasons to try to do this job.
. CentOS yum, , , - . , , , , , . .