Twilo: SQL-Befehl per Konsole ausführen

Beitrag lesen

Hallo,

kann mir jemand sagen, was daran falsch ist?

/usr/bin/mysql -u root -pcat /xxx/mysql.conf --database=mysql --execute="UPDATE user SET Password = OLD_PASSWORD('xxx') WHERE Host = 'localhost' AND User = 'root' LIMIT 1;"
-su: user: command not found
-su: Password: command not found
-su: Host: command not found
-su: User: command not found
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET  = OLD_PASSWORD('xxx') WHERE  = 'localhost' AND  = 'root' LIMIT 1' at line 1

mfg
Twilo