Python Suggestion - Installation of MySQLdb module

ydahs

New Member
Messages
6
Reaction score
0
Points
0
For those of us who need access to MySQL databases have no way of doing this through Python due to the module not being installed. I've searched the forums and it seems that such an option was once available but was removed after a server upgrade.

Any chance of having it reinstalled? If not, is there anyway to possibly manually install it? If so, can I theoretically install other Python modules such as WSGI?

Server: Cossacks
Service: Free hosting
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
I would also like to see a response to this. Not that i need python or even my free account, i have seen several people ask for these 2 modules, and in my opinion, python isn't very useful as a web service if it can't access mysql.
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
I wonder if Corey would be okay if we ran a poll to see which extensions should be added to perl, python or php.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
I wonder if Corey would be okay if we ran a poll to see which extensions should be added to perl, python or php.

We'd probably get a good number of useless extensions that wouldn't do much good though; the mysql-db one is practically required though. I mean, php without mysql is practically just html >_<
 

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
i say no. What php extensions do you need, that you can't reproduce in pure php. How many python modules for web based systems are written in C? No comment for perl since i dun know it.
 
Last edited:

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
I will try to get mysql-db installed for everyone this week sometime.
 
Last edited:

ydahs

New Member
Messages
6
Reaction score
0
Points
0
i say no. What php extensions do you need, that you can't reproduce in pure php. How many python modules for web based systems are written in C? No comment for perl since i dun know it.
I'm currently learning Python at university and I'd like to use it with MySQL. Sure one can replicate it in PHP, but that limits what one can do in Python through x10hosting since if they want database integration, they're forced to use PHP or another alternative.

Better to have more then option then no option at all, especially if it means installing one module.

I will try to get mysql-db installed for everyone this week sometime.
That's good to know. Cheers!
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
MySQLdb has been installed for the python 2.4, 2.5, and 2.6 binaries on all free hosting servers.

Let me know if they are not working properly. =)
 

black.sirius75

New Member
Messages
3
Reaction score
0
Points
0
Hello Everybody :)

I'm a new user here and I was interested with the Python feature of x10hosting.

I'd like to rewrite a code of mine from PHP to Python (mainly for fun :) ) but it looks like the MySQLdb module is not installed on the chopin server.
I looked under the sys.path directories but it's not there :frown:

I would be very grateful if it could be installed :)
I'm using Python version 2.6.

Keep up the good work !
 

black.sirius75

New Member
Messages
3
Reaction score
0
Points
0
Hello !

I'm sorry to ask it again but could MySQLdb be reinstalled on Chopin (for Python 2.6) ?

Also I saw that the sqlite module is broken (import sqlite3 gives some errors):
HTML:
/usr/local/lib/python2.6/sqlite3/__init__.py in ()
from dbapi2 import *
dbapi2 undefined
 /usr/local/lib/python2.6/sqlite3/dbapi2.py in ()
import time

from _sqlite3 import *
 paramstyle = "qmark"
_sqlite3 undefined

<type 'exceptions.ImportError'>: No module named _sqlite3 
      args = ('No module named _sqlite3',) 
      message = 'No module named _sqlite3'
 

tsapenkov30

New Member
Messages
1
Reaction score
0
Points
0
Could you please install the MySQLdb for Python 2.6?
Server: boru
Hosting Plan: Free
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Currently Python and Perl are disabled on the Free servers and there is no ETA on when/if they will be enabled again, so installing modules, etc, is not an option.
 
Top