All Projects → PyMySQL → Mysqlclient

PyMySQL / Mysqlclient

Licence: gpl-2.0
MySQL database connector for Python (with Python 3 support)

Programming Languages

python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language
Makefile
30231 projects

Labels

Projects that are alternatives of or similar to Mysqlclient

Genealogy
Laravel 8 and Vue family tree and genealogy data processing website.
Stars: ✭ 153 (-92.33%)
Mutual labels:  mysql
Nodeplatform Eggjs
基于egg.js编写的node平台,演示地址不要乱搞啊
Stars: ✭ 155 (-92.23%)
Mutual labels:  mysql
Yuniql
Free and open source schema versioning and database migration made natively with .NET Core.
Stars: ✭ 156 (-92.18%)
Mutual labels:  mysql
Pychat
webchat via WebSockets/WebRTC that allows messaging/video call/screen sharing
Stars: ✭ 152 (-92.38%)
Mutual labels:  mysql
So Sql Injections
SQL injection vulnerabilities in Stack Overflow PHP questions
Stars: ✭ 154 (-92.28%)
Mutual labels:  mysql
Quizbook
An android app with google material design to play quizzes in different categories.
Stars: ✭ 156 (-92.18%)
Mutual labels:  mysql
Amy
A C++11 compliant header-only asynchronous MySQL client library based on Asio. Enables you to work with MySQL in both asynchronous and blocking ways.
Stars: ✭ 152 (-92.38%)
Mutual labels:  mysql
Vitess
Vitess is a database clustering system for horizontal scaling of MySQL.
Stars: ✭ 13,063 (+554.79%)
Mutual labels:  mysql
Python Mysql Replication
Pure Python Implementation of MySQL replication protocol build on top of PyMYSQL
Stars: ✭ 1,948 (-2.36%)
Mutual labels:  mysql
Spring Boot Vue Bank
我,请始皇[打钱]是一个前后端分离的工具人系统,项目采用 SpringBoot+Go+Vue 开发,项目加入常见的企业级应用所涉及到的技术点,例如 Redis、RabbitMQ 等(主要是多用用工具多踩踩坑)。
Stars: ✭ 157 (-92.13%)
Mutual labels:  mysql
Quill
Compile-time Language Integrated Queries for Scala
Stars: ✭ 1,998 (+0.15%)
Mutual labels:  mysql
Goa
基于Beego开发的问答系统
Stars: ✭ 154 (-92.28%)
Mutual labels:  mysql
Core
The Form Tools Core.
Stars: ✭ 156 (-92.18%)
Mutual labels:  mysql
Myproxy
A sharding proxy for MYSQL databases
Stars: ✭ 153 (-92.33%)
Mutual labels:  mysql
Database To Plantuml
Compile PostgreSQL and MySQL table information into a PlantUML description.
Stars: ✭ 157 (-92.13%)
Mutual labels:  mysql
Tortoise Orm
Familiar asyncio ORM for python, built with relations in mind
Stars: ✭ 2,558 (+28.22%)
Mutual labels:  mysql
Atdatabases
TypeScript clients for databases that prevent SQL Injection
Stars: ✭ 154 (-92.28%)
Mutual labels:  mysql
Pomelo.entityframeworkcore.mysql
Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector
Stars: ✭ 2,099 (+5.21%)
Mutual labels:  mysql
Oneinstack
OneinStack - A PHP/JAVA Deployment Tool
Stars: ✭ 1,983 (-0.6%)
Mutual labels:  mysql
Cmd
Command line tools for database operation written by Go, moved to https://gitea.com/xorm/cmd
Stars: ✭ 154 (-92.28%)
Mutual labels:  mysql

mysqlclient

This project is a fork of MySQLdb1. This project adds Python 3 support and fixed many bugs.

Support

Do Not use Github Issue Tracker to ask help. OSS Maintainer is not free tech support

When your question looks relating to Python rather than MySQL:

Or when you have question about MySQL:

Install

Windows

Building mysqlclient on Windows is very hard. But there are some binary wheels you can install easily.

If binary wheels do not exist for your version of Python, it may be possible to build from source, but if this does not work, do not come asking for support. To build from source, download the MariaDB C Connector and install it. It must be installed in the default location (usually "C:\Program Files\MariaDB\MariaDB Connector C" or "C:\Program Files (x86)\MariaDB\MariaDB Connector C" for 32-bit). If you build the connector yourself or install it in a different location, set the environment variable MYSQLCLIENT_CONNECTOR before installing. Once you have the connector installed and an appropriate version of Visual Studio for your version of Python:

$ pip install mysqlclient

macOS (Homebrew)

Install MySQL and mysqlclient:

# Assume you are activating Python 3 venv
$ brew install mysql
$ pip install mysqlclient

If you don't want to install MySQL server, you can use mysql-client instead:

# Assume you are activating Python 3 venv
$ brew install mysql-client
$ echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' >> ~/.bash_profile
$ export PATH="/usr/local/opt/mysql-client/bin:$PATH"
$ pip install mysqlclient

Linux

Note that this is a basic step. I can not support complete step for build for all environment. If you can see some error, you should fix it by yourself, or ask for support in some user forum. Don't file a issue on the issue tracker.

You may need to install the Python 3 and MySQL development headers and libraries like so:

  • $ sudo apt-get install python3-dev default-libmysqlclient-dev build-essential # Debian / Ubuntu
  • % sudo yum install python3-devel mysql-devel # Red Hat / CentOS

Then you can install mysqlclient via pip now:

$ pip install mysqlclient

Customize build (POSIX)

mysqlclient uses mysql_config or mariadb_config by default for finding compiler/linker flags.

You can use MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS environment variables to customize compiler/linker options.

$ export MYSQLCLIENT_CFLAGS=`pkg-config mysqlclient --cflags`
$ export MYSQLCLIENT_LDFLAGS=`pkg-config mysqlclient --libs`
$ pip install mysqlclient

Documentation

Documentation is hosted on Read The Docs

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].