Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove db_import option #825

Merged
merged 1 commit into from
Apr 9, 2017
Merged

Remove db_import option #825

merged 1 commit into from
Apr 9, 2017

Conversation

swalkinshaw
Copy link
Member

This option is used to import a local SQL dump file into the database.

It was seldom used and could be dangerous. This option would cause the DB to be imported every provision which could overwrite data.

As an alternative for most DB operations, we always recommend using WP CLI.

Example: wp db import dbname.sql

This option is used to import a local SQL dump file into the database.

It was seldom used and could be dangerous. This option would cause the
DB to be imported *every* provision which could overwrite data.

As an alternative for most DB operations, we always recommend using WP
CLI.

Example: `wp db import dbname.sql`
@QWp6t
Copy link
Member

QWp6t commented Apr 9, 2017

For those who were using this to populate production server with local data, check out this post and discussion instead:

@swalkinshaw swalkinshaw merged commit dd4e728 into master Apr 9, 2017
@swalkinshaw swalkinshaw deleted the remove-db-import branch April 9, 2017 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants