sqlite3-to-mysql
Skill by techouse
Plans and runs sqlite3mysql transfers of SQLite 3 schema and data into MySQL or MariaDB. It is for users who need copy-pasteable commands and caveat explanations for a migration.
Install sqlite3-to-mysql
Built from the published package, never by AI.
git clone --depth 1 https://github.com/techouse/sqlite3-to-mysql /tmp/sqlite3-to-mysql && mkdir -p ~/.claude/skills && cp -r /tmp/sqlite3-to-mysql/skills/sqlite3-to-mysql ~/.claude/skills/sqlite3-to-mysqlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/techouse/sqlite3-to-mysql /tmp/sqlite3-to-mysql && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sqlite3-to-mysql/skills/sqlite3-to-mysql ~/.gemini/antigravity-cli/skills/sqlite3-to-mysqlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill helps an AI assistant plan and run migrations from SQLite 3 into MySQL or MariaDB using the sqlite3mysql tool. It first gathers the source file path, target database, user, host, port, and connection type, then asks which runtime to use: installed CLI, PyPI, Homebrew, or Docker image. It then produces one copy-pasteable command with caveats for the options used.
The skill covers recipes such as schema only, data into an existing schema, selected or excluded tables, truncating target tables, duplicate-row handling, Unix sockets, SSL options, views, FULLTEXT indexes, and rowid transfer. It also lists invalid or risky option combinations and version notes for MySQL and MariaDB. It is aimed at users who want to migrate a SQLite database to MySQL or MariaDB and need guidance on the command and its trade-offs.
Written from the project's SKILL.md and checked against it.
What it can do
- Gather migration inputsCollects the source file, target database, user, host, port, and connection type before giving a command.
- Choose a runtimeHelps pick an installed CLI, PyPI, Homebrew, or Docker image workflow.
- Generate transfer commandsProduces one copy-pasteable sqlite3mysql command with short caveats for the options used.
- Recipes for common transfersAdapts the base command for schema only, data only, table filters, truncation, or duplicate handling.
- Warn about risky combinationsFlags invalid or dangerous option pairs, such as conflicting SSL and socket options.
- Password handling guidanceRecommends an interactive password prompt and warns about exposing passwords on the command line.
- MySQL and MariaDB version notesLists version thresholds for JSON, defaults, duplicate-key updates, fractional seconds, and FULLTEXT.
- Post-transfer verificationSuggests checking the target database, for example with SHOW TABLES, and checking defaults and foreign keys.
What you need
- SQLite 3 source database file
- MySQL or MariaDB target server
- Python with pip, or Homebrew, or Docker
Try asking
- Write a sqlite3mysql command to move ./app.sqlite3 into MySQL database app_db
- Generate a schema-only sqlite3mysql transfer using Docker on my Mac
- Which sqlite3mysql options should I avoid when copying only selected tables?
Good to know
- Foreign keys are not transferred when a table filter is used.
- Passing --mysql-password exposes the secret in process listings, logs, or shell history.
- MySQL identifier names are limited to 64 characters, so longer source names are truncated.
- --mysql-socket cannot be combined with SSL certificate options.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/sqlite3-to-mysql/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to sqlite3-to-mysql
All alternatives →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.
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.
Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.
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.
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.
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.
Compare with hugging-face-datasets, db-repair or alloydb-basics
sqlite3-to-mysql: common questions
Does sqlite3mysql transfer foreign keys?
Yes for full transfers, but the source says foreign keys are not transferred when --sqlite-tables or --exclude-sqlite-tables is used.
Can it migrate to MariaDB as well as MySQL?
The source covers both MySQL and MariaDB and notes that they differ for JSON, defaults, duplicate-key updates, and FULLTEXT support by version.
How should I pass the database password?
The source recommends the -p prompt flag for interactive use and warns against literal passwords in commands.
How do I install sqlite3-to-mysql?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is sqlite3-to-mysql free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is sqlite3-to-mysql safe to use?
It scores 73 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to sqlite3-to-mysql?
Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.
