Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Cygwin install Python MySQLdb     - ThinkPad X220 Ubuntu 14.10 installed on fingerprint recognition (Linux)

- Oracle View Object Information (Database)

- To install and use Docker under linux (Server)

- Java Class file format parsing (Programming)

- Run Windows in FreeBSD bhyve (Linux)

- The wrong in Linux: too many open files (Linux)

- 10 Codes of good practice PHP (Programming)

- ARM runtime environment built from scratch using QEMU emulator (Linux)

- Nginx DHCP TFTP Kickstart set up automatic installation system (Server)

- To create a secure network firewall with iptables Under Linux (Linux)

- 29 practical examples Linux system / network administrator of nmap (Linux)

- Ubuntu how to install and use Objective-C (Linux)

- CentOS install SystemTap-2.6 (Linux)

- Slow update statement Performance Analysis (Database)

- Shell script to crawl through AWR SQL Report Problems (Database)

- Lua and C ++ (Programming)

- Ubuntu and derivative users to install the system launcher SimDock 1.3 (Linux)

- FastDFS installation and deployment (Server)

- C / C ++ language variable scope: local variables, global variables, file-level variables (Programming)

- JDK installation notes under CentOS (Linux)

  Cygwin install Python MySQLdb
  Add Date : 2018-11-21      
  1) cygwin update
Run cygwin / setup-x86_64.exe

Enter a mysql, select the following packages installed:



b Enter gcc, install the appropriate package

2) setuptools
$ Wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz
$ Tar zxvf setuptools-0.6c11.tar.gz
$ Cd setuptools-0.6c11
$ Python setup.py build
$ Python setup.py install

3) MySQL-python-1.2.3
$ Wget http://sourceforge.net/projects/mysql-python/files/mysql-python/1.2.3/MySQL-python-1.2.3.tar.gz
$ Tar zxvf MySQL-python-1.2.3.tar.gz
$ Cd MySQL-python-1.2.3

$ Vi site.cfg

# Embedded: link against the embedded server library
# Threadsafe: use the threadsafe client
# Static: link against a static library (probably required for embedded)

embedded = False
threadsafe = True
static = False

# The path to mysql_config.
# Only use this if mysql_config is not on your PATH, or you have some weird
# Setup that requires it.
#### Mysql_config = / usr / local / bin / mysql_config
mysql_config = / bin / mysql_config

# The Windows registry key for MySQL.
# This has to be set for Windows builds to work.
# Only change this if you have a different version.
#### Registry_key = SOFTWARE \ MySQL AB \ MySQL Server 5.0

$ Python setup.py build

$ Python setup.py install
- Docker startups use continuous integration deployment (Server)
- MySQL5.7.10 installation documentation (Database)
- Basic Tutorial: Linux novice should know 26 commands (Linux)
- Linux System Getting Started Learning: the Linux Wireshark interface dead solve (Linux)
- Repair after installing Ubuntu no boot device error (Linux)
- PL / SQL in forall simple test (Database)
- View and modify Linux machine name (Linux)
- MongoDB query statistics grouping remove duplicate records (Database)
- C ++ copy constructor (Programming)
- To assign multiple IP addresses NIC on the CentOS 7 (Linux)
- Linux Command Line Art (Linux)
- Installation and deployment of MariaDB under CentOS (Database)
- C ++ stderr / stdout redirected to a file (Programming)
- Use HttpClient remote interface testing (Programming)
- Camera-based face recognition OpenCV crawl and storage format (Python) (Linux)
- Error code: 2013 Lost connection to MySQL server during query (Database)
- Oracle lag () and lpad () function (Database)
- Method under Linux GCC Compiler shared library function export control (Programming)
- Kubuntu 14.04 desktop to the user how to upgrade KDE 4.13.2 (Linux)
- MySQL Installation Troubleshooting (Database)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.