I'm trying to clean up a database while running some tests in a bash script, and the following attempt at line continuation is not working:
mysql -e "DELETE FROM test.users WHERE username ="\
"'<a href=https://localhost>XSS Hack!</a>';"
I get the error
ERROR 1044 (42000): Access denied for user 'web'@'localhost' to database ''<a href=https://localhost>XSS Hack!</a>';'
The command works fine if I run it on a single line.