# python script on Machine1 to connect MYSQL DB on Machine 2

**URL:** <https://forums.suse.com/t/python-script-on-machine1-to-connect-mysql-db-on-machine-2/25867>\
**Category:** SLES Configure-Administer\
**Created:** [July 16, 2014, 2:18pm UTC](https://forums.suse.com/t/python-script-on-machine1-to-connect-mysql-db-on-machine-2/25867 "2014-07-16T14:18:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahmoodhassan](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@mahmoodhassan](https://forums.suse.com/u/mahmoodhassan)\
**Post date:** [July 16, 2014, 2:18pm UTC](https://forums.suse.com/t/python-script-on-machine1-to-connect-mysql-db-on-machine-2/25867/1 "2014-07-16T14:18:43Z")

</div>

Hi There  
Any help to install libmysqlclient-devel on SLES 11 SP3.  
I think I don’t have any right repository for this.

I am very new to python and pip, can anyone please help me to for the following installations

Installation of pip on Machine1 " **Plateform SLES11 SP** 3" (yast -i python-pip did not find any package to install)

Write a python script on Machine1 to connect MYSQL DB on Machine 2 and display all databases  
Pyhton is running on machine1 and machine2 only has running MySQL server

Thanks

Mahmood

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [July 16, 2014, 5:51pm UTC](https://forums.suse.com/t/python-script-on-machine1-to-connect-mysql-db-on-machine-2/25867/2 "2014-07-16T17:51:59Z")

</div>

Hi Mahmood,

[QUOTE=mahmoodhassan;22621]Hi There  
Any help to install libmysqlclient-devel on SLES 11 SP3.  
I think I don’t have any right repository for this.

I am very new to python and pip, can anyone please help me to for the following installations

Installation of pip on Machine1 " **Plateform SLES11 SP** 3" (yast -i python-pip did not find any package to install)

Write a python script on Machine1 to connect MYSQL DB on Machine 2 and display all databases  
Pyhton is running on machine1 and machine2 only has running MySQL server

Thanks

Mahmood[/QUOTE]

I’d expect that you’ll find any required functionality by installing “python-mysql” and its dependencies from the SLE11 SDK.

Please note that the SDK is an add-on product, not simply as another repository. So if not already installed, you’ll need to add i.e. the SDK ISO (available for free from SUSE) as an Add-On Product in YaST.

Regards,  
Jens
