You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If MySQL server has sql_mode which has ANSI or ANSI_QUOTES, it might results double quotes in dump file instead of backticks. And this might then break importing that dump back.
Always changing sql_mode on server side is not possible or it is for some other reason blocked.
If mysqldump-php would allow setting sql_mode, then developer using this library could go around the issue.
This is possible and I tested it by adding following to src/DumpSettings.php
If MySQL server has
sql_mode
which hasANSI
orANSI_QUOTES
, it might results double quotes in dump file instead of backticks. And this might then break importing that dump back.Always changing
sql_mode
on server side is not possible or it is for some other reason blocked.If
mysqldump-php
would allow settingsql_mode
, then developer using this library could go around the issue.This is possible and I tested it by adding following to
src/DumpSettings.php
See Smile-SA/gdpr-dump#145 for related discussion.
The text was updated successfully, but these errors were encountered: