ssh root@ip "mysql -uroot -p -e 'grant all on wordpress.* to firaswp@'ip' identified by 'password123';'"
however, when I input grant all on wordpress.* to firaswp@'54.87.224.199' identified by 'password123'; in mysql daemon it works fine..
does anyone know why this wouldn't be working? the syntax should be fine - if i remove "identified by 'password123', it works. Thanks!