xiaobaiya___ 2022-02-13 21:19 采纳率: 0%
浏览 40

用xampp引入mysql文件为什么显示Unknown command ?

Setting environment for using XAMPP for Windows.
Administrator@PC-20220212FAJE d:\xampp

mysql -uroot

Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 8
Server version: 10.1.19-MariaDB mariadb.org binary distribution

Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> mysql -uroot<C:\Users\Administrator\Desktop\mt.sql
ERROR: Unknown command '\U'.
ERROR: Unknown command '\A'.
ERROR: Unknown command '\D'.
ERROR: Unknown command '\m'.
->

  • 写回答

1条回答 默认 最新

  • 三千烦恼丝xzh 2022-02-13 21:49
    关注

    反斜杠可能需要转义

    评论

报告相同问题?

问题事件

  • 创建了问题 2月13日