'<' operator is reserved PowerShell Error

mysql, powershell

Solution

How about

& cmd.exe /c "mysql -u root -p Tutorials < tut_backup.sql" 

Problem

I am trying to use `mysql -u root -p Tutorials < tut_backup.sql` in PowerShell to restore a table in a MySQL DB but it's giving me `The '<' operator is reserved for future use.` error. Is there a roundabout way?

Original source

Related problems