addon_securityadvisor
addon_securityadvisor copied to clipboard
Anonymous MySQL users command needs to accommodate ANSI_QUOTES
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 ''"