mysql - '<' 运算符被保留 PowerShell 错误

标签 mysql powershell

我正在尝试使用 mysql -u root -p Tutorials < tut_backup.sql在 PowerShell 中恢复 MySQL 数据库中的表,但它给了我 The '<' operator is reserved for future use.错误。有迂回的方式吗?

最佳答案

怎么样

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

关于mysql - '<' 运算符被保留 PowerShell 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15776495/

相关文章:

mysql - 在 WHERE 子句中确定 CaseSensitive

windows - 如何在 PowerShell 中更改环境变量并启动应用程序

powershell - 如何使用凭据通过代理服务器运行 Azure powershell cmdlet?

powershell - Powershell:如何检测管道中的非最后退出代码

mysql - 随时间变化的 Oracle Select

php - 查询返回未关注的用户结果

mysql - 如何以最佳 SQL 性能获取最新值(value)

python - 如何解决 Operand should contain 1 column(s) for update multiple rows in python?

PowerShell 使用第三方模块而不安装它

powershell - 我如何从最新流程中获得安排的流程的开始时间