ifsnop / mysqldump-php

PHP version of mysqldump cli that comes with MySQL
https://github.com/ifsnop/mysqldump-php
GNU General Public License v3.0
1.25k stars 300 forks source link

Add support for "if-not-exists" option #204

Closed smalos closed 4 years ago

smalos commented 4 years ago

It would be quite useful if there was an option like 'if-not-exists' that would append “IF NOT EXISTS” to "CREATE TABLE" ("CREATE TABLE IF NOT EXISTS") to avoid errors when a table already exists.

Details here: https://github.com/ifsnop/mysqldump-php/issues/203

smalos commented 4 years ago

Can this pull request be merged or is there anything to be done before?

ifsnop commented 4 years ago

Could you please update the readme file to describe the new option? If possible, reference the mysqldump equivalent.

Thanks!

El jue., 13 ago. 2020 1:41, smalos notifications@github.com escribió:

Can this pull request be merged or is there anything to be done before?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ifsnop/mysqldump-php/pull/204#issuecomment-673162245, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHMH2CDTS7WY24LGI7PYLDSAMSCFANCNFSM4P2HPD4Q .