hello all.
I have python 3 and want use mysql but i dont find mysqls modouls please say me a link.

Recommended Answers

All 10 Replies

hello all.
I have python 3 and want use mysql but i dont find mysqls modouls please say me a link.

I don't think they've actually released a library for python 3.0 yet.
I think the current version of mysql's python interface only works on python2.x versions

Take a look at this link..should explain it better!:
http://mysql-python.blogspot.com/2009/02/project-status-community-participation.html

Also, there's this:
http://blog.some-abstract-type.com/2009/05/mysql-connectorpython-on-launchpad.html

Either step down to python 2.x and enjoy python-mysql or change option to use SQLite. SQLite comes with Python, so I guess it is in version 3 also.

Either step down to python 2.x and enjoy python-mysql or change option to use SQLite. SQLite comes with Python, so I guess it is in version 3 also.

It is easier to use sqlit but there is a problem it use for small databases with a little records.in bigger program we will need to some database else such as mysql or pgsql.is not true?

Ok, may be :)
I don't see the reason of not using Python 2.X I still use 2.5 and works fine. I think this version have got so many modules available and so, it is for production level!

last mysql moduls which came i think releasedfor python 2.4

I've never used 2.4 and I enjoy mysql-python wherever I need it. There is version for Python 2.5

Please enter me its link.
Sorry you means I use python 2.5 for projects.which version is common now?

PostGreSQL claims to work with 3.0 but I haven't tried it http://python.projects.postgresql.org/ SqLite is good up to 100,000 to 250,000 records depending on size of record and database use.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.