Ciao
Sto facendo i backup di alcuni database ma quando eseguo il mysqldump mi da un errore.

Posto il codice e l'errore:

codice:
mysql> mysql -u root -p test > test.txt;
ERROR 1064 (42000): 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 'mysql  -u root -p test > test.txt' at line 1
Ho già cercato sul web ma non ho trovato niente di utile.

Non sono molto esperto quindi spiegazioni semplici pls.