Add commands to export and import SQLite databases

Open
#327 8 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
mysql, php, sqlite
Domain
cli, databases

Research direction

Review the existing wp db export and wp db import commands to understand their current database paths and extension points. Done means the four listed SQLite/MySQL import and export directions are supported with clear compatibility behavior.

Written by the indexing model from the issue text.

Description

command:db-export command:db-import scope:distribution state:unconfirmed

For increased compatibility with SQLite, it would be nice to be able to:

  • Import a SQLite database into a MySQL database.
  • Import a MySQL database into a SQLite database.
  • Export a MySQL database to a SQLite database.
  • Export a SQLite database to a MySQL database.

I think these features could live inside of wp db export and wp db import.

Dominant language
PHP
Stars
76
Forks
73
Avg merge
9h 31m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from wp-cli/db-command

All issues in wp-cli/db-command

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.