that is, on linux, something like:

apt-get install python-mysqldb

or

yum install python-mysqldb

should do it;

You can also look at http://pypi.python.org/pypi/MySQL-python/1.2.3c1

At least on Ubuntu 9.04/python2.6  easy_install of mysql-python  fails;  For
PC you might be better off downloading the source, and:

python setup.py install

- Yarko

On Mon, Jun 29, 2009 at 1:26 PM, Yannick <ytchatch...@gmail.com> wrote:

>
> Hello,
> If you want to use mysql with web2py since it using Python you need to
> install MySQLdb which is a MySQL DB API the help python to talk with
> mysql db...
>
> I hope it help...
>
> CHeers,
> Yannick P.
>
> On Jun 25, 9:32 am, Stefan <saro...@googlemail.com> wrote:
> > I want to add y mysql database.
> > When I start the framework  it says
> >
> > WARNING:root:importing mysqlite3.dbapi2 as sqlite3
> > What does it mean?
> >
> > Which library do i need to use mysql ?
> > When I start it only shows that it loads
> >
> > Database drivers available: SQLite2, Postgre
> >
> > Thanks!
> >
> > (Pythen newby)
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to