Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mysql

Skill by sickn33

Administers MySQL and MariaDB databases, covering setup, InnoDB tuning, backups, source-replica replication and monitoring. It is a documentation-only guide for administrators and developers who run these databases.

  • Score 88
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mysql

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/mysql ~/.claude/skills/mysql

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mysql in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a documentation guide for administering MySQL and MariaDB databases. It covers installing the servers on Debian, Ubuntu, RHEL or Docker, creating databases and application users with grants, and using the mysql command line client. It also includes InnoDB configuration tuning, logical backups with mysqldump, physical and incremental backups with Percona XtraBackup, and source-replica replication setup. Monitoring queries, a Docker Compose example and a troubleshooting table are included.

The guide is written for developers and administrators who manage MySQL or MariaDB deployments on Linux servers or in containers. It states that the two engines are not interchangeable and that versions must be chosen carefully. The skill is marked critical risk. It warns that infrastructure commands can disrupt services, so the target host should be confirmed and backups taken first. Helper scripts and templates are not bundled.

Written from the project's SKILL.md and checked against it.

What it can do

  • Installation and setupInstalls MySQL 8 on Debian, Ubuntu, RHEL or Amazon Linux and runs the secure installation wizard.
  • User and database setupCreates a utf8mb4 database and an application user with limited grants.
  • mysql CLI referenceLists commands for connecting, running single statements, importing SQL and exporting results.
  • Configuration tuningShows mysqld.cnf settings for networking, InnoDB, logging, binary logs and character sets.
  • Logical backupsCovers mysqldump backups, compressed backups and restore commands.
  • Physical backupsCovers Percona XtraBackup full and incremental backups, prepare and restore steps.
  • Source-replica replicationShows how to configure a source, create a replication user and point a replica to it.
  • Monitoring queriesProvides SQL for connection stats, buffer pool hit ratio, slow queries, table sizes and replication lag.
  • Docker Compose setupProvides a compose file for MySQL 8.0 with a health check and phpMyAdmin.
  • Troubleshooting tableMaps symptoms such as too many connections or lock wait timeouts to likely causes and fixes.

What you need

  • Linux server (Debian/Ubuntu or RHEL-based) or Docker
  • Root or sudo access for package installation
  • Familiarity with SQL fundamentals

Try asking

  • Set up a MySQL 8 source and replica with the mysql skill
  • Show me how to take an XtraBackup full and incremental backup
  • Tune innodb_buffer_pool_size for a 16 GB dedicated MySQL server

Good to know

  • Documentation only. Helper scripts and templates are not bundled.
  • MySQL and MariaDB are not interchangeable, so exact versions must be selected.
  • Some InnoDB options are removed or replaced in newer versions.
  • REPAIR TABLE does not repair InnoDB tables.

Security check

C
  • Asks for administrator rights (sudo)In skills/mysql/SKILL.md: sudo

Checked automatically: skills/mysql/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md12 KB

Alternatives to mysql

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

mysql: common questions

Does this skill work with MariaDB as well as MySQL?

The source covers both MySQL and MariaDB but states they are not interchangeable. Exact server and tool versions and supported replication syntax should be selected before adapting the examples.

Does it cover backups and restores?

Yes. It covers logical backups with mysqldump and physical and incremental backups with Percona XtraBackup. The source says backup pipelines must propagate failures and be restore-tested.

Can it set up replication between two servers?

Yes. It includes source and replica configuration, a replication user, binary log position lookup and commands to start and check replication status.

How do I install mysql?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mysql free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is mysql safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to mysql?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

Add to stack

Loading.