View Full Version : [Req] MySQL driver for Python
I just joined Hostmonster because of Python support, but I found out that there's no Python MySQL driver installed.
Is there any change that you (admins) can install this Python package?
It's available here:
http://www.mysql.org/downloads/python.html
shadmego
04-22-2007, 06:04 PM
Remember this is a user-to-user forum. No HM adminsitrators come here. To get an answer to your question, I would refer you to the live chat support on the front page of www.hostmonster.com (http://www.hostmonster.com).
~regards, and welcome to the community
Shadmego
charlesgan
04-22-2007, 07:21 PM
I just joined Hostmonster because of Python support, but I found out that there's no Python MySQL driver installed.
Is there any change that you (admins) can install this Python package?
It's available here:
http://www.mysql.org/downloads/python.html
my first guess will be.. you trying to make connection to mysql from phyton. if this is the case, you can try using ODBC connector.
Remember this is a user-to-user forum. No HM adminsitrators come here. To get an answer to your question, I would refer you to the live chat support on the front page of www.hostmonster.com (http://www.hostmonster.com).
~regards, and welcome to the community
Shadmego
I've posted Helpdesk ticket a week ago, but haven't had a reply yet about this. They probably have to forward it to the linux administrators or something like that.
my first guess will be.. you trying to make connection to mysql from phyton. if this is the case, you can try using ODBC connector.
I couldn't find a ODBC connector in the standard library of Python. It probably doesn't exist for Python (in Linux). There are only third-party modules: http://www.python.org/doc/topics/database/modules/ which are not built-in by default.
It's possible to use "Virtual Python" (http://peak.telecommunity.com/DevCenter/EasyInstall#creating-a-virtual-python) to install MySQLdb for Python under the users home directory. Althought this requires at least Python 2.3.5, and HostMonster is running Python 2.3.4....
So I now installed Python 5 under my home directory (via SSH) and MySQLdb (without Virtual Python). But this probably doesn't allow me to run Python 5 webpages. But that's not a big problem. I'm planning to run Python scripts only via the console.
bigrabbit
08-26-2009, 01:50 PM
The best way is you use PostgreSQL. you can download and install by yourself. I already have doen.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.