Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.

Anonymous MySQL users command needs to accommodate ANSI_QUOTES #59

Open
FGasper opened this issue Aug 29, 2013 · 0 comments
Open

Anonymous MySQL users command needs to accommodate ANSI_QUOTES #59

FGasper opened this issue Aug 29, 2013 · 0 comments

Comments

@FGasper
Copy link

FGasper commented Aug 29, 2013

mysql -e 'drop user ""'

The above, according to the docs, will fail if ANSI_QUOTES is enabled. (cf. https://dev.mysql.com/doc/refman/5.6/en/string-literals.html)

It should work to change it to:

mysql -e "drop user ''"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant