Possible Duplicate:
python fabric mysql privileges
Trying to set mysql user privileges with fabric.
Any idea ? Thanks a lot !
run('mysql -u %s -p%s -e "grant all on %s.* to '%s\'@\'localhost' identified by 'PASSWORD'"' % (user, dbpasswd, account, account))
SyntaxError: unexpected character after line continuation character
Try changing your line to: