# mysql-tools **Repository Path**: mirrors/mysql-tools ## Basic Information - **Project Name**: mysql-tools - **Description**: Mysql Tools 是用于管理、维护、改进 MySQL 数据库性能的工具集合,由 Google 开发 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/mysql-tools - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 2 - **Created**: 2020-11-23 - **Last Updated**: 2026-02-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Various tools for managing, maintaining, and improving the performance of MySQL databases, originally written by Google. Libraries: * pylib/db.py: Easily execute queries in parallel on a sharded database * Depends on MySQLdb. Most tools here depend on it. * permissions_lib/: Manage MySQL permissions in a Python-based format * Depends on tlslite. * parser_lib/: Parse SQL and apply rules based on the parsed output * Depends on pyparsing. Binaries: * sql.py: Interactive shell for pylib/db.py * permissions.py: Tool for pushing permissions to servers using permissions_lib/ * validate.py: Tool for validating SQL using parser_lib/