wp-cli / db-command

Performs basic database operations using credentials stored in wp-config.php.
MIT License
71 stars 58 forks source link

Support all `mysql` flags while importing database #123

Closed abhijitrakas closed 5 years ago

abhijitrakas commented 6 years ago

Commit for https://github.com/wp-cli/ideas/issues/112

abhijitrakas commented 5 years ago

@schlessera Ok, cool. So we allow only flags which are mention in MySql Doc check Table 4.12 mysqlimport Options table. Correct me if I am wrong.

schlessera commented 5 years ago

@abhijitrakas No, we are actually using the mysql binary, not the mysqlimport one. So the options would be the ones documented here: https://dev.mysql.com/doc/refman/8.0/en/mysql-command-options.html

abhijitrakas commented 5 years ago

@schlessera Please check updated PR.

schlessera commented 5 years ago

Thanks for the PR, @abhijitrakas !