Question before registering: mysqldb

Question before registering: mysqldb

Posted by: Pietro
Posted on: 2006-03-25 15:20:00

I am really interested in Dream Host. I got really nice reviews from a friend of mine who is using it, and considering that I am reachings the limit with the host that I am using, this could be my next step.

BUT...
I am planning to build a service that uses python and mysql. I am not asking for people to help me with python, but to use mysql from python I need to have a library which is called mysqldb, which requires superuser abilities.

Has this library been installed?
If I join DreamHost will I be able to install it myself?
Already two times a similar question has been asked in this forum, and it always got ignored.

Unfortunately, I personally need an answer to this question if I am to take Dream Host as a possible next host.

Can anybody please help me?


Many thanks,
Pietro




Re: Question before registering: mysqldb

Posted by: ardco
Posted on: 2006-03-25 16:47:00

In reply to:

to use mysql from python I need to have a library which is called mysqldb, which requires superuser abilities.

Has this library been installed?
If I join DreamHost will I be able to install it myself?
Already two times a similar question has been asked in this forum, and it always got ignored.


Thanks for searching the archives, and thanks for asking. Here's what I tried:

In reply to:

How do I install the MySQLdb?

First see if MySQLdb is already installed by doing the following from a python shell:

>>> import MySQLdb

If you see an error message like the one below, then it isn't installed.

Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named MySQLdb

If you get no error message then, the interface is already installed.


I got:

$ python
Python 2.3.5 (#2, Sep 4 2005, 22:01:42)
[GCC 3.3.5 (Debian 1:3.3.5-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
>>>

So it appears mysqldb is already installed.

Cheers,

BobS

Re: Question before registering: mysqldb

Posted by: moua
Posted on: 2006-03-26 01:09:00

I could help you :
http://lazutkin.com/blog/2005/sep/7/django_dreamhost_happy_end/

Re: Question before registering: mysqldb

Posted by: Pietro
Posted on: 2006-03-26 09:05:00

Thank you very much.
Yes, it seems that it is installed.


As Yoda would say:
"Much happier am I"

:)

Pietro



Re: Question before registering: mysqldb

Posted by: Pietro
Posted on: 2006-03-26 09:18:00

Hmm, maybe I should use Django too.
I'll look into that.

:)

Pietro

Tags: pythondreamhostmysqltargetcatnicehttpservicehelp