Connecting to MySQL using python without installing Mysql

309 Views Asked by At

Thanks for reading this.

I am working on a project that involves database sync with python. The remote machine is a linux machine with MySQL. The client does not want me to install anything except python and python libraries required for the project. Is it possible to connect to MySQL without installing MySQL though it is a remote machine.

Or suggest me some workaround. I do not mind keeping the executable but I do not want anything to be installed, some workaround. I would love it if the library works just like MySQLdb does.

1

There are 1 best solutions below

1
On

You might be interested in PyMySql. I didn't test myself but I read that it doesn't require MySql to be installed on the local machine.