Is there an easy way (without downloading any plugins) to connect to a MySQL database in Python?
Also, what would be the difference from calling a PHP script to retrieve the data from the database and hand it over to Python and importing one of these third-parties plugins that requires some additional software in the server.
EDIT: the server has PHP and Python installed by default.
You just need the MySQL for Python module that is Python DB API 2.0 compliant.
I don’t know why wouldn’t you want to install it. If you are worried about it being too complex to install, there are
eggs to make it easy to install.Once installed, you just use it like