FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Can we get Python module mysql.connector installed, please ?





amagard
Can we get Python module mysql.connector installed, please ?
Currently I am trying to deploy a web application here on Frihost wriiten in Python using a MySQL database as a back end. Unfortunately the mysql.connector module doesn't seem to be installed, as I see an error like this in my Apache error log when running my program:

AH01215: import mysql.connector,
AH01215: ImportError: No module named mysql.connector

The module can be obtained from http://dev.mysql.com/usingmysql/python/

Any chance we get that installed here ?
amagard
Tried a different Python MySQL module today: MySQLdb . No luck either:

[Sun Jan 06 17:55:55.598182 2013] [cgi:error] [pid 12015] [client 87.162.148.235:60859] AH01215: import MySQLdb, referer: ...
[Sun Jan 06 17:55:55.598198 2013] [cgi:error] [pid 12015] [client 87.162.148.235:60859] AH01215: ImportError: No module named MySQLdb
amagard
I take that as a "No !".
amagard
*Sigh* Confused

Is anyone actually watching this Web Hosting Support forum here ?

For a little project I wanted to host here I really need some means to connect my Python code to a MySQL database.

If none of the options I mentioned above - mysql.connector and MySQLdb - are available here on Frihost, is there any other module / approach / technique I can use ?

Any feedback would be welcome here, even something in the direction of "Python together with MySQL is not supported at all on Frihost". Which certainly is not the answer I am hoping for, but would be even better than no answer at all.
astrobyte
I've also the same problem, my python scripts, needs to connect to a db, can u pls install MySQLdb module?
deanhills
astrobyte wrote:
I've also the same problem, my python scripts, needs to connect to a db, can u pls install MySQLdb module?
On which server are you Astrobyte?
Related topics
simple php problem, please help...
Cron Job to Backup MySQL Database
mysql/php help please
.htaccess problem
MySQL issues on Frih.net server
PHP-Server at localhost
mysql base error please help
Lineage II (C4 chronicle)
Do you have Quicktime installed? Please vote.
Install DBD
Python image module
mySQL help needed, any other good database thing?
How can I log in to MySQL? Please help!
How to check whether a Python module is installed
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.